[Bug c++/86286] Could __attribute__ ((nothrow)) on a noexcept function turn off EH codegen?
tanksherman27 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 22 06:45:00 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86286
Julian Waters <tanksherman27 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tanksherman27 at gmail dot com
--- Comment #6 from Julian Waters <tanksherman27 at gmail dot com> ---
Just tested this on gcc 13, MinGW, a noexcept method includes the .seh_handler
instruction in the compiled assembly, signifying the creation of Windows
exception handling tables, while [[gnu::nothrow]] does not. So it seems to me
that nothrow is not exactly mapped to noexcept
More information about the Gcc-bugs
mailing list