http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56087
--- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> 2013-01-24 09:31:20 UTC --- I've checked and gcc-4.6 does miscompile this test case, but gets it right with the PR52573 fix applied. Vanilla gcc-4.7 doesn't seem to miscompile this particular test case, but it still miscompiles the original PR52573 test case. Anyway, I'm certain this PR is a dup of PR52573 so please close it as such.