diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2012-04-27 20:41:16 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2012-04-27 20:41:16 +0000 |
commit | 5f5f36f91b8bfb0e09118418153c12e1239175a5 (patch) | |
tree | e991f466709fea5492b98e76ff1cb20b7cacdb6b | |
parent | accea0346fbda651c9b83aa922c5eab8a824dedc (diff) | |
download | gcc-5f5f36f91b8bfb0e09118418153c12e1239175a5.zip gcc-5f5f36f91b8bfb0e09118418153c12e1239175a5.tar.gz gcc-5f5f36f91b8bfb0e09118418153c12e1239175a5.tar.bz2 |
re PR target/52999 (ICE, segmentation fault in c_tree_printer)
PR target/52999
* config/pa/pa.c (pa_legitimate_constant_p): Don't put function labels
in constant pool.
From-SVN: r186919
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/pa/pa.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7097f17..914801a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index bcf64ce..6b4ea25 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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; } |