http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51228
Bug #: 51228 Summary: [4.5/4.6/4.7 Regression] ICE with transparent union Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: reich...@gcc.gnu.org The following code snippet triggers an ICE since GCC 4.5.0: ========================================================== typedef union {} U __attribute__((transparent_union)); void foo(U u) {} ========================================================== bug.cc: In function 'void foo(U)': bug.cc:3:6: internal compiler error: Segmentation fault Please submit a full bug report, [etc.]