Remove can_throw_non_call_exceptions special case from operator_div::wi_fold.
authorAldy Hernandez <aldyh@redhat.com>
Mon, 29 Nov 2021 11:52:45 +0000 (12:52 +0100)
committerAldy Hernandez <aldyh@redhat.com>
Tue, 30 Nov 2021 10:23:27 +0000 (11:23 +0100)
commitf33fdda0b805ff6097f9f325d73a4b07e72170b0
treefe4239e3bff55be8b3a1e7e283c872e9a87ce6ce
parent8af3f53d325fe4a6b1f3da64dc02d10978b9a116
Remove can_throw_non_call_exceptions special case from operator_div::wi_fold.

PR tree-optimization/103451

gcc/ChangeLog:

* range-op.cc (operator_div::wi_fold): Remove
can_throw_non_call_exceptions special case.
* tree-ssa-sink.c (sink_code_in_bb): Same.

gcc/testsuite/ChangeLog:

* gcc.dg/pr103451.c: New test.
gcc/range-op.cc
gcc/testsuite/gcc.dg/pr103451.c [new file with mode: 0644]
gcc/tree-ssa-sink.c