re PR c++/21151 (ICE when compiling c++ PCH of class definition within template funct...
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 2 Jun 2005 08:53:48 +0000 (08:53 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 2 Jun 2005 08:53:48 +0000 (08:53 +0000)
commitfbd4ef4ccdf895dd2833feee248ad5c0d069f418
tree953edcc6ac9eee743e009c18c53b5932a6dcb73b
parentbf8f8254eae6616841fcebe1af3de1d921bd0c24
re PR c++/21151 (ICE when compiling c++ PCH of class definition within template function.)

cp:
PR c++/21151
* name-lookup.c (pushtag): Push local class even in a template.
testsuite:
PR c++/21151
* g++.dg/pch/local-1.C: New.
* g++.dg/pch/local-1.Hs: New.

From-SVN: r100482
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pch/local-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/pch/local-1.Hs [new file with mode: 0644]