]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/52999 (ICE, segmentation fault in c_tree_printer)
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Sun, 6 May 2012 20:59:10 +0000 (20:59 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 6 May 2012 20:59:10 +0000 (20:59 +0000)
PR target/52999
* config/pa/pa.h (LEGITIMATE_CONSTANT_P): Don't put function labels
in constant pool.

From-SVN: r187217

gcc/ChangeLog
gcc/config/pa/pa.h

index 096aef8d5756a66476823936e03d6ba3b3a6b144..258b706457db54dd9a5590bb3f5c682336c53cec 100644 (file)
@@ -1,3 +1,9 @@
+2012-05-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR target/52999
+       * config/pa/pa.h (LEGITIMATE_CONSTANT_P): Don't put function labels
+       in constant pool.
+
 2012-05-04  Uros Bizjak  <ubizjak@gmail.com>
 
        Backport from mainline
index 012186854de53877ab0814ff0a959032d0bedec1..6c587941b5a8d11329bed93e9a693ed1d71849ac 100644 (file)
@@ -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.  */