PR c++/21687
commit1f1066369684958fe1d698bd7c96785317cba087
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Sep 2005 18:29:28 +0000 (2 18:29 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Sep 2005 18:29:28 +0000 (2 18:29 +0000)
tree132a35a0fae0655b2618067cb6bbe178be246bb7
parent88729d26c29641816f9bb47ebd0f46d1654943fb
PR c++/21687
* parser.c (cp_parser_class_specifier): Push/pop GC contexts
around functions in local classes.

PR c++/21687
* g++.dg/other/gc3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103791 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/gc3.C [new file with mode: 0644]