[Bug c++/72845] gcc crashes (ICE) when compiling program with complex noexcept declaration

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 24 10:48:00 GMT 2017


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|2016-08-09 00:00:00         |2017-4-24

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The code is invalid, presumably you meant to use noexcept(noexcept(...)) rather
than just noexcept.

Current trunk still gives an ICE for it though.


More information about the Gcc-bugs mailing list