aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2007-09-12 01:56:20 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2007-09-12 01:56:20 +0000
commit31af2dca8c2deef1ad5e34ccfb5e4bb9e7550f3c (patch)
tree15d9bdbac2994b1d285112d64f8c80e8c6f353f0 /gcc
parent8657bdee03a9d5bb3227211129ce1e3c2d4a0b52 (diff)
downloadgcc-31af2dca8c2deef1ad5e34ccfb5e4bb9e7550f3c.zip
gcc-31af2dca8c2deef1ad5e34ccfb5e4bb9e7550f3c.tar.gz
gcc-31af2dca8c2deef1ad5e34ccfb5e4bb9e7550f3c.tar.bz2
re PR target/33360 (cris build failure)
PR target/33360 * config/cris/cris.c (cris_expand_pic_call_address): Fix typo in GET_CODE (x) == CONST_INT to CONST_INT_P (x) transformation. From-SVN: r128406
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/cris/cris.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4af559e..aa53318 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2007-09-12 Hans-Peter Nilsson <hp@axis.com>
+
+ PR target/33360
+ * config/cris/cris.c (cris_expand_pic_call_address): Fix typo in
+ GET_CODE (x) == CONST_INT to CONST_INT_P (x) transformation.
+
2007-09-12 Sa Liu <saliu@de.ibm.com>
* config/spu/spu.c (spu_emit_branch_or_set): Handle NaN values as
diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c
index 563c124..78ce75c 100644
--- a/gcc/config/cris/cris.c
+++ b/gcc/config/cris/cris.c
@@ -3176,7 +3176,7 @@ cris_expand_pic_call_address (rtx *opp)
/* It might be that code can be generated that jumps to 0 (or to a
specific address). Don't die on that. (There is a
testcase.) */
- if (CONSTANT_ADDRESS_P (op) && CONST_INT_P (op))
+ if (CONSTANT_ADDRESS_P (op) && !CONST_INT_P (op))
{
enum cris_pic_symbol_type t = cris_pic_symbol_type_of (op);