http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48479
Summary: [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin* Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: objc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: domi...@lps.ens.fr CC: nicola.p...@meta-innovation.com, ia...@gcc.gnu.org Host: *-apple-darwin* Target: *-apple-darwin* Build: *-apple-darwin* Between revisions 171800 and 171957 many failures appeared in the obj-c++.dg test suite on *-apple-darwin*(see http://gcc.gnu.org/ml/gcc-testresults/2011-04/msg00442.html ): FAIL: obj-c++.dg/template-4.mm -fnext-runtime (internal compiler error) FAIL: obj-c++.dg/template-4.mm -fnext-runtime (test for excess errors) WARNING: obj-c++.dg/template-4.mm -fnext-runtime compilation failed to produce executable FAIL: obj-c++.dg/strings/const-str-12.mm -fnext-runtime (internal compiler error) FAIL: obj-c++.dg/strings/const-str-12.mm -fnext-runtime (test for excess errors) ... FAIL: obj-c++.dg/torture/strings/string1.mm -O2 -flto -fnext-runtime (internal compiler error) FAIL: obj-c++.dg/torture/strings/string1.mm -O2 -flto -fnext-runtime (test for excess errors) WARNING: obj-c++.dg/torture/strings/string1.mm -O2 -flto -fnext-runtime compilation failed to produce executable AFAICT they are all of the kind /opt/gcc/work/gcc/testsuite/obj-c++.dg/template-4.mm: In function 'int main()': /opt/gcc/work/gcc/testsuite/obj-c++.dg/template-4.mm:75:3: internal compiler error: tree check: expected tree that contains 'decl with RTL' structure, have 'const_decl' in cxx_mark_addressable, at cp/typeck.c:5378