This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9512: [3.4 regression[ [New parser] Segmentation fault if qualifying name of template explicit specialisation in namespace
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, vlukas at gmx dot de
- Date: 1 Feb 2003 20:52:29 -0000
- Subject: Re: c++/9512: [3.4 regression[ [New parser] Segmentation fault if qualifying name of template explicit specialisation in namespace
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, vlukas at gmx dot de, gcc-gnats at gcc dot gnu dot org
Old Synopsis: Segmentation fault if qualifying name of template explicit specialisation in namespace
New Synopsis: [3.4 regression[ [New parser] Segmentation fault if qualifying name of template explicit specialisation in namespace
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Sat Feb 1 20:52:29 2003
State-Changed-Why:
Confirmed. Failed somewhere between these two time points
(the new parser?):
regression/test> ../bin/gcc-2002-12-25/bin/c++ -c test.ii
regression/test> ../bin/gcc-2003-01-05/bin/c++ -c test.ii
test.cpp:3: internal compiler error: Segmentation fault
This is the code (don't know whether this is legal):
------------------------
namespace Glib {
template <typename> class Value {};
template <> class Glib::Value<int> {};
}
--------------------
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9512