Commit 346d3923 by Jan Hubicka Committed by Jan Hubicka

re PR middle-end/33348 (gfortran.dg/g77/19990826-3.f fails at -O1)

	PR middle-end/33348
	PR target/33406
	* loop-invariant.c (move_invariant_reg): Unshare sequence.

From-SVN: r128547
parent 8eedd029
2007-09-17 Jan Hubicka <jh@suse.cz>
PR middle-end/33348
PR target/33406
* loop-invariant.c (move_invariant_reg): Unshare sequence.
2007-09-17 Victor Kaplansky <victork@il.ibm.com> 2007-09-17 Victor Kaplansky <victork@il.ibm.com>
PR tree-optimization/33319 PR tree-optimization/33319
...@@ -1243,6 +1243,7 @@ move_invariant_reg (struct loop *loop, unsigned invno) ...@@ -1243,6 +1243,7 @@ move_invariant_reg (struct loop *loop, unsigned invno)
if (op != reg) if (op != reg)
emit_move_insn (reg, op); emit_move_insn (reg, op);
seq = get_insns (); seq = get_insns ();
unshare_all_rtl_in_chain (seq);
end_sequence (); end_sequence ();
if (!seq_insns_valid_p (seq)) if (!seq_insns_valid_p (seq))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment