c/8290: [3.2/3.3 regression] Initialization with compound literals during declaration fails with gcc 3.2

bangerth@dealii.org bangerth@dealii.org
Mon Dec 2 13:21:00 GMT 2002


Old Synopsis: Initialization with compound literals during declaration fails with gcc 3.2
New Synopsis: [3.2/3.3 regression] Initialization with compound literals during declaration fails with gcc 3.2

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Dec  2 13:21:29 2002
State-Changed-Why:
    Confirmed. Assuming the code is legal, it is a regression
    from 3.0, which compiled it fine. A simpler code is this:
    -----------------------------
    typedef struct {
        int a;
    } s;
    
    s w[2] = (s []) { { 1 }, { 2 } };
    
    int main(void)
    {
      s x[2] = (s []) { { 1 }, { 2 } };
      return(0);
    }
    -------------------------------

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



More information about the Gcc-prs mailing list