Commit dc5f5366 by Clinton Popetz Committed by Clinton Popetz

i386.c: (constant_call_address_operand): Reject CONST_INT.

	* config/i386/i386.c: (constant_call_address_operand): Reject
	CONST_INT.

From-SVN: r32300
parent 83ecd27e
2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
* config/i386/i386.c: (constant_call_address_operand): Reject
CONST_INT.
2000-03-02 Jason Merrill <jason@casey.cygnus.com> 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
* cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
......
...@@ -1088,7 +1088,9 @@ constant_call_address_operand (op, mode) ...@@ -1088,7 +1088,9 @@ constant_call_address_operand (op, mode)
rtx op; rtx op;
enum machine_mode mode ATTRIBUTE_UNUSED; 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. */ /* Match exactly zero and one. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment