Commit 50fa47d9 by Jeff Law Committed by Jeff Law

[PATCH] Remove undefined behaviour from hppa backend

	* config/pa/pa.h (MIN_LEGIT_64BIT_CONST_INT: Avoid undefined
	behavior.

From-SVN: r228021
parent 6b333269
2015-09-22 Jeff Law <law@redhat.com>
* config/pa/pa.h (MIN_LEGIT_64BIT_CONST_INT: Avoid undefined
behavior.
2015-09-22 Nathan Sidwell <nathan@codesourcery.com>
* doc/invoke.texi (-Wmultiple-inheritance, -Wvirtual-inheritance,
......@@ -814,7 +814,8 @@ extern int may_call_alloca;
this range are forced to the constant pool prior to reload. */
#define MAX_LEGIT_64BIT_CONST_INT ((HOST_WIDE_INT) 32 << 31)
#define MIN_LEGIT_64BIT_CONST_INT ((HOST_WIDE_INT) -32 << 31)
#define MIN_LEGIT_64BIT_CONST_INT \
((HOST_WIDE_INT)((unsigned HOST_WIDE_INT) -32 << 31))
#define LEGITIMATE_64BIT_CONST_INT_P(X) \
((X) >= MIN_LEGIT_64BIT_CONST_INT && (X) < MAX_LEGIT_64BIT_CONST_INT)
......
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