http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51528
--- Comment #10 from Iain Sandoe <iains at gcc dot gnu.org> 2012-02-13 20:40:43 UTC --- (In reply to comment #8) > So, I don't see what's wrong on PPC (with SRA, that is). This must be > a target bug if at all (note I'm only inspecting dumps and did not > reproduce the execute fail). yes, seems to be .. the tree-ssa dump is unchanged between -O1 (OK) and -O2 (fails). this seems to be a 4.5, 4.6 and 4.7 regression [4.4. is OK] - the call to bar () is being dropped from foo (). will move to a different PR. Thanks for the test-case ;)