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++/10026: [3.4 regression] ICE on incomplete type


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


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