attached code crashes, when compiled with -ftree-sra works fine with 4.4.2 its probably an incarnation of PR44258
-- Summary: wrong code generation with -ftree-sra Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: torbenh at users dot sourceforge dot net GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44406