From: Hans-Peter Nilsson Date: Wed, 12 Sep 2007 01:56:20 +0000 (+0000) Subject: re PR target/33360 (cris build failure) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31af2dca8c2deef1ad5e34ccfb5e4bb9e7550f3c;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4af559e80e4..aa533189134 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-09-12 Hans-Peter Nilsson + + 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 * 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 563c1242742..78ce75c53a1 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);