c++/9512: [3.4 regression[ [New parser] Segmentation fault if qualifying name of template explicit specialisation in namespace

bangerth@dealii.org bangerth@dealii.org
Sat Feb 1 20:52:00 GMT 2003


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



More information about the Gcc-bugs mailing list