From: Clinton Popetz Date: Fri, 3 Mar 2000 00:54:46 +0000 (+0000) Subject: i386.c: (constant_call_address_operand): Reject CONST_INT. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc5f5366aada3819fb9cdf35b69dac6174df64fc;p=platform%2Fupstream%2Fgcc.git i386.c: (constant_call_address_operand): Reject CONST_INT. * config/i386/i386.c: (constant_call_address_operand): Reject CONST_INT. From-SVN: r32300 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 799ca9e..543b24e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-03-02 Clinton Popetz + + * config/i386/i386.c: (constant_call_address_operand): Reject + CONST_INT. + 2000-03-02 Jason Merrill * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 2f64d47..84bda81 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -1088,7 +1088,9 @@ constant_call_address_operand (op, mode) rtx op; enum machine_mode mode ATTRIBUTE_UNUSED; { - return GET_CODE (op) == MEM && CONSTANT_ADDRESS_P (XEXP (op, 0)); + return GET_CODE (op) == MEM && + CONSTANT_ADDRESS_P (XEXP (op, 0)) && + GET_CODE (XEXP (op, 0)) != CONST_INT; } /* Match exactly zero and one. */