projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0486b6
)
tree-eh.c (operation_could_trap_helper_p): Ignore honor_trapv for *DIV_EXPR and ...
author
Jakub Jelinek
<jakub@redhat.com>
Wed, 7 Feb 2018 12:53:31 +0000
(13:53 +0100)
committer
Jakub Jelinek
<jakub@gcc.gnu.org>
Wed, 7 Feb 2018 12:53:31 +0000
(13:53 +0100)
* tree-eh.c (operation_could_trap_helper_p): Ignore honor_trapv for
*DIV_EXPR and *MOD_EXPR.
From-SVN: r257450
gcc/ChangeLog
patch
|
blob
|
history
gcc/tree-eh.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 51c45c0532000d903cf1cabbe45212e8b29b3b91..73c144f5f6ac7a96adfbcc56487335c1c9c6c467 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-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
diff --git
a/gcc/tree-eh.c
b/gcc/tree-eh.c
index 9862ed9fdda52401aef7b1b8090f62975e1585c8..3609bca6eacc03cb2b5171ef423f5e5f84e470e1 100644
(file)
--- a/
gcc/tree-eh.c
+++ b/
gcc/tree-eh.c
@@
-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;