c++/4286: Internal error: Segmentation fault

jason@gcc.gnu.org jason@gcc.gnu.org
Sat Feb 2 00:49:00 GMT 2002


Synopsis: Internal error: Segmentation fault

Responsible-Changed-From-To: unassigned->jason
Responsible-Changed-By: jason
Responsible-Changed-When: Sat Feb  2 00:49:29 2002
Responsible-Changed-Why:
    mine
State-Changed-From-To: analyzed->closed
State-Changed-By: jason
State-Changed-When: Sat Feb  2 00:49:29 2002
State-Changed-Why:
    Fixed for 3.1 by
    
            * decl2.c (finish_static_data_member_decl): Complain about a local
            class with a static data member.
    
            PR c++/4286
            * search.c (lookup_field_1): Don't xref a static data member
            just because we looked it up.
    
    Note that your code is actually invalid; a local class may not have a static data member.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4286



More information about the Gcc-bugs mailing list