re PR target/52999 (ICE, segmentation fault in c_tree_printer)
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Fri, 27 Apr 2012 20:41:16 +0000 (20:41 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 27 Apr 2012 20:41:16 +0000 (20:41 +0000)
PR target/52999
* config/pa/pa.c (pa_legitimate_constant_p): Don't put function labels
in constant pool.

From-SVN: r186919

gcc/ChangeLog
gcc/config/pa/pa.c

index 7097f17befd7fd4ba12d106d7892cdf28a912c49..914801a36a2a57203c6d6f8fed25596d2b6a5621 100644 (file)
@@ -1,3 +1,9 @@
+2012-04-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR target/52999
+       * config/pa/pa.c (pa_legitimate_constant_p): Don't put function labels
+       in constant pool.
+
 2012-04-27   Ollie Wild  <aaw@google.com>
 
        * doc/invoke.texi (Wliteral-suffix): Document new option.
index bcf64ce82a5b82e1466f982f48a71c82f4c2d522..6b4ea25fa225d45243213ec45743e4edec2ce736 100644 (file)
@@ -10332,9 +10332,6 @@ pa_legitimate_constant_p (enum machine_mode mode, rtx x)
       && !pa_cint_ok_for_move (INTVAL (x)))
     return false;
 
-  if (function_label_operand (x, mode))
-    return false;
-
   return true;
 }