This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]