]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/search.c
re PR c++/4286 (Internal error: Segmentation fault)
authorJason Merrill <jason@redhat.com>
Fri, 1 Feb 2002 15:50:01 +0000 (10:50 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 1 Feb 2002 15:50:01 +0000 (10:50 -0500)
commit65f36ac8689fcf7c2794b4693bd921fe6893dfe1
tree8b39924f004b741d2dea0d7a5e5b7421fc1f6771
parent5ee4950e46c20b9b14b2fca1997b63121b5158b1
re PR c++/4286 (Internal error: Segmentation fault)

        * 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.

From-SVN: r49395
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/search.c
gcc/testsuite/g++.dg/template/local1.C [new file with mode: 0644]
This page took 0.059849 seconds and 5 git commands to generate.