/* { dg-do compile } */ /* { dg-options "-g -O" } */ extern void foo (void);
static void baz (int i) { foo (); typedef char A[i]; struct { A b; } *x = 0; } void bar (i) { baz (i); } ICEs in modified_type_die in 4.1.x (x86_64-linux -m32, -m64, ppc-linux -m32, -m64 at least). Works with 3.4.6 as well as 4.2.x. -- Summary: [4.1 Regression] ICE on modified_type_die Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30189