------- Comment #2 from hp at gcc dot gnu dot org  2007-09-12 01:35 -------
Revision 122128 had a bug in its s/GET_CODE (op) == CONST_INT/CONST_INT_P (op)/
transformation:
@@ -3183,7 +3177,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) && GET_CODE (op) != CONST_INT)
+  if (CONSTANT_ADDRESS_P (op) && CONST_INT_P (op))
     {
       enum cris_pic_symbol_type t = cris_pic_symbol_type_of (op);


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hp at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-09-12 01:35:28
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33360

Reply via email to