[Bug c++/55526] [C++11] Irrelevant error message for function parameter wrongly used in noexcept specifier

waffl3x at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 15 16:20:37 GMT 2026


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

Alex <waffl3x at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |waffl3x at gcc dot gnu.org

--- Comment #2 from Alex <waffl3x at gcc dot gnu.org> ---
This is no longer inherently invalid as of at least C++23. I have opened
PR125807 for that bug. Might we want to change the error in pre-C++23 to
additionally express the behavior changes?


More information about the Gcc-bugs mailing list