http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45978
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |diagnostic Last reconfirmed| |2010.10.12 09:44:10 Component|middle-end |tree-optimization Ever Confirmed|0 |1 Summary|bogus "array subscript is |[4.6 Regression] bogus |above array bounds" warning |"array subscript is above |in extremely simple code |array bounds" warning in |with no loops |extremely simple code with | |no loops Target Milestone|--- |4.6.0 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-12 09:44:10 UTC --- Confirmed. The vectorizer uses &MEM[(struct Y *)&<retval>].ar[4]; as the base address for the store to .c.x, .c.y, .c.z, .d.