[Bug libstdc++/78264] [7 regression] ICE in build_noexcept_spec, at cp/except.c:1196
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 8 11:16:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78264
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
It's the new macro in c++config:
#if __cpp_noexcept_function_type
#define _GLIBCXX_NOEXCEPT_PARM , bool _N
#define _GLIBCXX_NOEXCEPT_QUAL noexcept (_N)
#else
#define _GLIBCXX_NOEXCEPT_PARM
#define _GLIBCXX_NOEXCEPT_QUAL
#endif
See this comment a few lines below in the same file:
// This marks string literals in header files to be extracted for eventual
// translation. It is primarily used for messages in thrown exceptions; see
// src/functexcept.cc. We use __N because the more traditional _N is used
// for something else under certain OSes (see BADNAMES).
#define __N(msgid) (msgid)
Testing trivial fix...
More information about the Gcc-bugs
mailing list