]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/name-lookup.c
re PR c++/23219 (ICE: Segmentation fault in decl_namespace_context)
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 11 Aug 2005 09:23:57 +0000 (09:23 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 11 Aug 2005 09:23:57 +0000 (09:23 +0000)
commit6a0007046e65103e31c66bc0ef0d28d28e89d813
tree4c03d748fb74ca597e759c18eab345d5d1958165
parentcac329963a81d95f7f04ece46bbc07786e954e40
re PR c++/23219 (ICE: Segmentation fault in decl_namespace_context)

cp:
PR c++/23219
* name-lookup.c (pushtag): Process the template type before
altering the identifier lookup fields.  Remove unreachable code
creating an empty stub decl.
testsuite:
PR c++/23219
* g++.dg/parse/crash28.C: New.

From-SVN: r102982
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash28.C [new file with mode: 0644]