------- Comment #2 from jakub at gcc dot gnu dot org 2010-09-14 11:26 ------- Created an attachment (id=21789) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21789&action=view) gcc46-pr45663.patch
A sign extension insn for the first bar call is scheduled before the a.j++ insns with the debug_insn for a$j. While at the call itself the vars already have expected values, at the first insn on the same line as the first bar call (the sign extension) a.j is still 13, not 14. I think we could fix this up by adjusting the testcase (with current trunk it gives no failures on both x86_64-linux and i686-linux), though haven't tested other targets. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45663