http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43631
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-11 10:41:55 UTC --- Author: jakub Date: Tue Dec 11 10:41:44 2012 New Revision: 194392 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194392 Log: PR middle-end/43631 PR bootstrap/55615 * var-tracking.c (emit_note_insn_var_location): If insn is followed by BARRIER, put note after the BARRIER. (next_non_note_insn_var_location): Skip over BARRIERs. (emit_notes_in_bb): If call is followed by BARRIER, put note after the BARRIER. * g++.dg/other/pr43631.C: New test. Added: trunk/gcc/testsuite/g++.dg/other/pr43631.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/var-tracking.c