https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #61528|0 |1
is obsolete| |
--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 61540
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61540&action=edit
gcc16-pr117785-wip.patch
Further progress, still need to debug std::rethrow_exception, adjust testsuite
not yet tested for C++26 changes if throw appears (so far adjusted just the
C++20 dynamic_cast/typeid ones) and maybe add helper to evaluate what () and
print it in the diagnostics.
Also maybe add some flags on MUST_NOT_THROW_EXPR to differentiate the reasons
why it has been emitted into the IL and take it into account in the
diagnostics.