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/9903: [3.2 regression] ICE for legal code


Old Synopsis: ICE for legal code
New Synopsis: [3.2 regression] ICE for legal code

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Mar  3 15:13:28 2003
State-Changed-Why:
    Confirmed with 3.2, but already fixed in 3.3 and mainline.
    Here's a smaller example:
    -----------------------------
    typedef struct  {
        struct Y * dummy;
    } X;
    
    void f1(struct Y *A1);
    void f2(double value);
    struct Y y;
    
    float foo(float A_r) {
        f2(A_r);
        f1(&y);
        undeclared();
    }
    -------------------------
    With 3.2.2 I get
    /x> /home/bangerth/bin/gcc-3.2.2-pre/bin/gcc -c -O2 colors-preprocessed.c
    colors-preprocessed.c: In function `foo':
    colors-preprocessed.c:13: internal error: Segmentation fault
    Please submit a full bug report,
    
    It works with 3.0, so this is a regression. However, as
    said, this is already fixed on newer branches.
    
    W.

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


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