Commit 30c3267c by Kazu Hirata Committed by Kazu Hirata

* rtlanal.c (may_trap_p): Simplify an integer comparison.

From-SVN: r70761
parent 791996d1
2003-08-24 Kazu Hirata <kazu@cs.umass.edu>
* rtlanal.c (may_trap_p): Simplify an integer comparison.
2003-08-24 Nathanael Nerode <neroden@gcc.gnu.org> 2003-08-24 Nathanael Nerode <neroden@gcc.gnu.org>
* fixinc/inclhack.def (AAB_svr4_replace_byteorder): Enhance * fixinc/inclhack.def (AAB_svr4_replace_byteorder): Enhance
......
...@@ -2388,9 +2388,7 @@ may_trap_p (rtx x) ...@@ -2388,9 +2388,7 @@ may_trap_p (rtx x)
|| (GET_MODE_CLASS (GET_MODE (x)) == MODE_FLOAT || (GET_MODE_CLASS (GET_MODE (x)) == MODE_FLOAT
&& flag_trapping_math)) && flag_trapping_math))
return 1; return 1;
/* This was const0_rtx, but by not using that, if (XEXP (x, 1) == const0_rtx)
we can link this file into other programs. */
if (GET_CODE (XEXP (x, 1)) == CONST_INT && INTVAL (XEXP (x, 1)) == 0)
return 1; return 1;
break; break;
......
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