http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51782
--- Comment #8 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-01-09 20:30:35 UTC --- It's scalar replacement of aggregates: With -O1 code is wrong. With -O1 -fno-tree-sra code is correct.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51782
--- Comment #8 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-01-09 20:30:35 UTC --- It's scalar replacement of aggregates: With -O1 code is wrong. With -O1 -fno-tree-sra code is correct.