cause verify_flow_info failures.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119116
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-11-23 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * var-tracking.c (emit_note_insn_var_location): Take care not to
+ cause verify_flow_info failures.
+
2006-11-22 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-structalias.c: Remove edge weights in favor of just
complete = false;
if (where == EMIT_NOTE_AFTER_INSN)
- note = emit_note_after (NOTE_INSN_VAR_LOCATION, insn);
+ /* emit_note_after can insert a note after a flow-control insn in a basic
+ block. That causes verify_flow_info failures. */
+ note = emit_note_before (NOTE_INSN_VAR_LOCATION, NEXT_INSN (insn));
else
note = emit_note_before (NOTE_INSN_VAR_LOCATION, insn);