This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10555: [3.3/3.4 regression] ICE on undefined template argument
- 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, reichelt at igpm dot rwth-aachen dot de
- Date: 29 Apr 2003 21:47:28 -0000
- Subject: Re: c++/10555: [3.3/3.4 regression] ICE on undefined template argument
- 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, reichelt at igpm dot rwth-aachen dot de, gcc-gnats at gcc dot gnu dot org
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