From: John David Anglin Date: Sun, 6 May 2012 20:59:10 +0000 (+0000) Subject: re PR target/52999 (ICE, segmentation fault in c_tree_printer) X-Git-Tag: releases/gcc-4.6.4~557 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=323ae11cc8aa8eb8b85ceac2d80a5c8e46d498d5;p=thirdparty%2Fgcc.git re PR target/52999 (ICE, segmentation fault in c_tree_printer) PR target/52999 * config/pa/pa.h (LEGITIMATE_CONSTANT_P): Don't put function labels in constant pool. From-SVN: r187217 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 096aef8d5756..258b706457db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-05-06 John David Anglin + + PR target/52999 + * config/pa/pa.h (LEGITIMATE_CONSTANT_P): Don't put function labels + in constant pool. + 2012-05-04 Uros Bizjak Backport from mainline diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 012186854de5..6c587941b5a8 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -859,8 +859,7 @@ extern int may_call_alloca; || reload_in_progress \ || reload_completed \ || LEGITIMATE_64BIT_CONST_INT_P (INTVAL (X)) \ - || cint_ok_for_move (INTVAL (X))) \ - && !function_label_operand (X, VOIDmode)) + || cint_ok_for_move (INTVAL (X)))) /* Target flags set on a symbol_ref. */