[Bug c++/86286] Could __attribute__ ((nothrow)) on a noexcept function turn off EH codegen?

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 25 11:41:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86286

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-06-25
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Isn't noexcept mapped to nothrow currently?

Don't you want a "elide-mnt-check" attribute on the caller instead?
That is, we wrap all noexcept function bodies with a must-not-throw EH
region and you want to elide that, no?


More information about the Gcc-bugs mailing list