re PR tree-optimization/90090 (ICE in mark_reachable_handlers, at tree-eh.c:3938...
authorJakub Jelinek <jakub@redhat.com>
Tue, 16 Apr 2019 08:24:47 +0000 (10:24 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 16 Apr 2019 08:24:47 +0000 (10:24 +0200)
commit41b5808d56c2f4c98cf783b13d97b775f59f123c
tree212872291e47b07d629097936e07b6e9f7822816
parent8c996ec644d4dfa8d067f822ba63b3e4a3a17ef8
re PR tree-optimization/90090 (ICE in mark_reachable_handlers, at tree-eh.c:3938 since r219202)

PR tree-optimization/90090
* tree-ssa-math-opts.c (is_division_by): Ignore divisions that can
throw internally.
(is_division_by_square): Likewise.  Formatting fix.

* g++.dg/opt/pr90090.C: New test.

From-SVN: r270379
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr90090.C [new file with mode: 0644]
gcc/tree-ssa-math-opts.c