PR c++/82081 - tail call optimization breaks noexcept
If a noexcept function calls a function that might throw, doing the tail
call optimization means that an exception thrown in the called function
will propagate out, breaking the noexcept specification. So we need to
prevent the optimization in that case.
* tree-tailcall.c (find_tail_calls): Don't turn a call from a
nothrow function to a might-throw function into a tail call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270656
138bc75d-0d04-0410-961f-
82ee72b054a4