http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57967
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-07-24 Known to work| |4.8.2 Summary|Incorrect code generated on |[4.7 regresssion] Incorrect |ARM with |code generated on ARM with |-fexpensive-optimizations |-fexpensive-optimizations Ever confirmed|0 |1 --- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- This appears to be a bug in combine. My suspicion lies with the new 4-way combine code that was added around gcc-4.6. Note that gcc-4.6 is no-longer being maintained. The problem seems to be fixed in 4.8 so a bisect might indicate a fix.