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++/10555: [3.3/3.4 regression] ICE on undefined template argument


Synopsis: [3.3/3.4 regression] ICE on undefined template argument

State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Tue Apr 29 21:47:27 2003
State-Changed-Why:
    Confirmed, but I don't think it's a regression: in 3.0 I
    get "confused by earlier messages" and in 2.95 an ICE:
    
    g/x> /home/bangerth/bin/gcc-3.0.4/bin/c++ -c x.cc
    x.cc: In instantiation of `C<void>':
    x.cc:11:   instantiated from here
    x.cc:8: type/value mismatch at argument 1 in template parameter list for
       `template<{template default argument error}> template<{template default
       argument error}> struct A<<anonymous template type parameter> >::B'
    x.cc:8:   expected a type, got `U'
    x.cc:8: confused by earlier errors, bailing out
    g/x>
    g/x>
    g/x> c++ -c x.cc
    x.cc: In instantiation of `A<void>':
    x.cc:8:   instantiated from `C<void>'
    x.cc:11:   instantiated from here
    x.cc:8: Internal compiler error.
    x.cc:8: Please submit a full bug report.
    x.cc:8: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
    
    What do you think?
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10555


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