http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207
--- Comment #9 from janus at gcc dot gnu.org --- (In reply to janus from comment #8) > I think we need the patch in comment 6 after all. But how do we get rid of > the remaining regressions? Simplest solution: Move the code in these test cases from the main program into a subroutine (or similar). Then the variables will not be SAVEd and all optimizations can be applied as before. (However, it's a bit unfortunate that we lose the possibility to do these optimizations in the main program.)