http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52055
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2012-01-31 Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-31 10:56:23 UTC --- Confirmed. It's valid to shorten the load for aligned i, it would not be valid if it were a read from a possibly unaligned memory (it might trap with 64bit size but not with 32bit).