c++/10026: [3.4 regression] ICE on incomplete type
bangerth@dealii.org
bangerth@dealii.org
Tue Mar 11 15:52:00 GMT 2003
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
More information about the Gcc-bugs
mailing list