This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10026: [3.4 regression] ICE on incomplete type
- From: bangerth at dealii dot org
- To: falk dot hueffner at student dot uni-tuebingen dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 11 Mar 2003 15:16:19 -0000
- Subject: Re: c++/10026: [3.4 regression] ICE on incomplete type
- Reply-to: bangerth at dealii dot org, falk dot hueffner at student dot uni-tuebingen dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: ICE on incomplete type
New Synopsis: [3.4 regression] ICE on incomplete type
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Mar 11 15:16:19 2003
State-Changed-Why:
OK, this one was real simple to reduce (less than 5 minutes :-):
------------------------
class X;
void foo() {
X x(1);
bar(x);
}
---------------------
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.ii
x.ii: In function `void foo()':
x.ii:4: error: variable `X x' has initializer but incomplete type
x.ii:5: internal compiler error: in arg_assoc_type, at cp/decl2.c:3983
It didn't ICE (and didn't bail out in 3.3, so this is a
regression).
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10026