tree-eh.c (operation_could_trap_helper_p): Ignore honor_trapv for *DIV_EXPR and *MOD_EXPR.
* tree-eh.c (operation_could_trap_helper_p): Ignore honor_trapv for *DIV_EXPR and *MOD_EXPR. From-SVN: r257450
This commit is contained in:
parent
a0486b6514
commit
228868f532
|
@ -1,3 +1,8 @@
|
|||
2018-02-07 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* tree-eh.c (operation_could_trap_helper_p): Ignore honor_trapv for
|
||||
*DIV_EXPR and *MOD_EXPR.
|
||||
|
||||
2018-02-07 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR target/84248
|
||||
|
|
|
@ -2436,7 +2436,7 @@ operation_could_trap_helper_p (enum tree_code op,
|
|||
case ROUND_MOD_EXPR:
|
||||
case TRUNC_MOD_EXPR:
|
||||
case RDIV_EXPR:
|
||||
if (honor_snans || honor_trapv)
|
||||
if (honor_snans)
|
||||
return true;
|
||||
if (fp_operation)
|
||||
return flag_trapping_math;
|
||||
|
|
Loading…
Reference in New Issue