------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-07 01:56 ------- Confirmed, reduced testcase: typedef struct { unsigned char dir; int data[]; } AiDefaultRailBlock; static const AiDefaultRailBlock _raildata_ai_0 = { 1, { 0, 4 } };
: Search converges between 2004-09-21-004002-3.4 (#77) and 2004-09-22-004001-3.4 (#78). : Search converges between 2004-09-20-161001-trunk (#551) and 2004-09-21-094824-trunk (#552). : Search converges between 2004-09-20-064502-3.3 (#296) and 2004-09-27-064501-3.3 (#297). The only thing which went in all three branches around this time was: 2004-09-20 Giovanni Bajo <[EMAIL PROTECTED]> PR c++/14179 * decl.c (reshape_init): Extract array handling into... (reshape_init_array): New function. Use integers instead of trees for indices. Handle out-of-range designated initializers. Also that did change how initialization was done. (This is valid C but is/should it be valid C++) -- What |Removed |Added ---------------------------------------------------------------------------- CC| |giovannibajo at gcc dot gnu | |dot org, gdr at gcc dot gnu | |dot org Status|UNCONFIRMED |NEW Ever Confirmed| |1 Known to fail| |3.4.3 4.0.0 Known to work| |3.4.0 Last reconfirmed|0000-00-00 00:00:00 |2004-11-07 01:56:23 date| | Summary|ICE while compiling valid c |[3.3/3.4/4.0 Regression] ICE |code with g++ |while compiling valid c code | |with g++ Target Milestone|--- |3.4.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327