re PR target/33360 (cris build failure)
authorHans-Peter Nilsson <hp@axis.com>
Wed, 12 Sep 2007 01:56:20 +0000 (01:56 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Wed, 12 Sep 2007 01:56:20 +0000 (01:56 +0000)
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

gcc/ChangeLog
gcc/config/cris/cris.c

index 4af559e80e4a28bebd9ad402bc5ace30c15a8e73..aa5331891345e4a8d773f6e51e9864a0cb10ffa7 100644 (file)
@@ -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
index 563c1242742425432ffebfb6f347c263a0f011e3..78ce75c53a163682552d3d662f3f52f715e7c4f3 100644 (file)
@@ -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);