mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-07 14:48:52 +08:00
re PR rtl-optimization/9651 ([Alpha] FPE with NAN in spite of isnan protection)
PR optimization/9651 * rtlanal.c (may_trap_p): Handle FIX. From-SVN: r62717
This commit is contained in:
parent
3462df6282
commit
22fd5743d9
@ -1,3 +1,8 @@
|
||||
2003-02-11 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
|
||||
|
||||
PR optimization/9651
|
||||
* rtlanal.c (may_trap_p): Handle FIX.
|
||||
|
||||
2003-02-11 Dave Jones <davej@codemonkey.org.uk>
|
||||
|
||||
* config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
|
||||
|
@ -2517,6 +2517,18 @@ may_trap_p (x)
|
||||
return 1;
|
||||
break;
|
||||
|
||||
case FIX:
|
||||
/* Conversion of floating point might trap. */
|
||||
if (flag_trapping_math && HONOR_NANS (GET_MODE (XEXP (x, 0))))
|
||||
return 1;
|
||||
break;
|
||||
|
||||
case FIX:
|
||||
/* Conversion of floating point might trap. */
|
||||
if (flag_trapping_math && HONOR_NANS (GET_MODE (XEXP (x, 0))))
|
||||
return 1;
|
||||
break;
|
||||
|
||||
case NEG:
|
||||
case ABS:
|
||||
/* These operations don't trap even with floating point. */
|
||||
|
Loading…
Reference in New Issue
Block a user