This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/86286] Could __attribute__ ((nothrow)) on a noexcept function turn off EH codegen?
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Jun 2018 11:41:32 +0000
- Subject: [Bug c++/86286] Could __attribute__ ((nothrow)) on a noexcept function turn off EH codegen?
- Auto-submitted: auto-generated
- References: <bug-86286-4@http.gcc.gnu.org/bugzilla/>
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?