[Bug c++/54420] [4.6/4.7/4.8 Regression] Segmentation fault in decl_mangling_context

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 4 22:17:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54420

Jason Merrill <jason at gcc dot gnu.org> changed:

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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-04 22:16:57 UTC ---
The name __lambda, like all names beginning with "__", is reserved to the
implementation.

In addition, some identifiers are reserved for use by C++ implementations and
standard libraries (17.6.4.3.2) and shall not be used otherwise; no diagnostic
is required.

— Each name that contains a double underscore _ _ or begins with an underscore
followed by an uppercase letter (2.12) is reserved to the implementation for
any use.

I'll fix 4.8 to avoid crashing on this testcase, but I don't want to change the
release branches.



More information about the Gcc-bugs mailing list