On i686-unknown-linux-gnu with the 4.0.x branch, I'm getting tree checking failures in gcc.dg/20040203-1.c, cast-1.c, cast-2.c, cast-3.c. From the logfile, the errors in 20040203-1.c are of this form:
20040203-1.c:17: internal compiler error: tree check: expected class 'constant', have 'unary' (nop_expr) in build_c_cast, at c-typeck.c:3330 The errors from cast-*.c are of this form: cast-1.c:25: internal compiler error: tree check: expected class 'constant', have 'declaration' (var_decl) in build_c_cast, at c-typeck.c:3330 It was clean as of here: http://gcc.gnu.org/ml/gcc-testresults/2005-11/msg00301.html It started happening here: http://gcc.gnu.org/ml/gcc-testresults/2005-11/msg00360.html To reproduce, configure with --enable-checking=yes,rtl then bootstrap the 4.0 branch and run the testsuite. The 4.1 branch and mainline are all clean for some reason. -- Summary: [4.0 regression] tree checking failures in gcc.dg/20040203-1.c, cast-1.c, cast-2.c, cast-3.c Product: gcc Version: 4.0.3 Status: UNCONFIRMED Keywords: ice-checking Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ghazi at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25169