re PR tree-optimization/86479 ([graphite] ICE in gimplify_modify_expr, at gimplify...
authorRichard Biener <rguenther@suse.de>
Thu, 12 Jul 2018 07:11:50 +0000 (07:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 Jul 2018 07:11:50 +0000 (07:11 +0000)
commit9e392989053729d4d50681e1742e2920d3b08ee4
tree90f7429c522f65ad7aba4fa7402f5684f598d6e5
parent19353855bfc05914faaee9f297684f608fd9a485
re PR tree-optimization/86479 ([graphite] ICE in gimplify_modify_expr, at gimplify.c:5756)

2018-07-12  Richard Biener  <rguenther@suse.de>

PR middle-end/86479
* fold-const.c (fold_binary_op_with_conditional_arg): Do not
move possibly trapping operations into the conditional.

* gcc.dg/graphite/pr86479.c: New testcase.

From-SVN: r262574
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr86479.c [new file with mode: 0644]