diff options
Diffstat (limited to 'gcc/tree-eh.c')
-rw-r--r-- | gcc/tree-eh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c index ab945ff..3dbcfa8 100644 --- a/gcc/tree-eh.c +++ b/gcc/tree-eh.c @@ -1787,8 +1787,8 @@ tree_could_trap_p (tree expr) case RDIV_EXPR: if (honor_snans || honor_trapv) return true; - if (fp_operation && flag_trapping_math) - return true; + if (fp_operation) + return flag_trapping_math; t = TREE_OPERAND (expr, 1); if (!TREE_CONSTANT (t) || integer_zerop (t)) return true; |