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
This commit is contained in:
Hans-Peter Nilsson 2007-09-12 01:56:20 +00:00 committed by Hans-Peter Nilsson
parent 8657bdee03
commit 31af2dca8c
2 changed files with 7 additions and 1 deletions

View 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

View 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);