// { dg-do compile } // { dg-options "-g -femit-struct-debug-baseonly" } # 1 "foo.C" # 1 "bar.h" 1 typedef struct { int i; } S __attribute__((aligned)); typedef struct { struct { int i; } j; } T __attribute__((aligned)); # 1 "foo.C" 2
compiles fine with 4.3.x, but ICEs in gen_type_die_with_usage with 4.4.x/4.5.x. -- Summary: [4.4/4.5 Regression] ICE with -femit-struct-debug- baseonly Product: gcc Version: 4.4.3 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: debug AssignedTo: jakub at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43010