re PR c++/21687 (ICE in GC with local class inside a template function)
authorMark Mitchell <mark@codesourcery.com>
Fri, 2 Sep 2005 18:29:28 +0000 (18:29 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 2 Sep 2005 18:29:28 +0000 (18:29 +0000)
commitda6110588f226bf6107910b7630451e736328a1b
tree132a35a0fae0655b2618067cb6bbe178be246bb7
parent01be28d829b48b576564ce7d5c45570b0f42e2ee
re PR c++/21687 (ICE in GC with local class inside a template function)

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.

From-SVN: r103791
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/gc3.C [new file with mode: 0644]