diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-17 15:12:10 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-17 15:12:10 +0000 |
commit | 08cc708404273bff87ec4dab08bcc8dbae49c5c4 (patch) | |
tree | 3f0800a22d7bae4346eb912e9083f42590331a04 /gcc/loop-invariant.c | |
parent | c468634ebdb867abc97593ceaf366995382b2af8 (diff) | |
download | gcc-08cc708404273bff87ec4dab08bcc8dbae49c5c4.tar.gz |
PR middle-end/33348
PR target/33406
* loop-invariant.c (move_invariant_reg): Unshare sequence.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128547 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-invariant.c')
-rw-r--r-- | gcc/loop-invariant.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/loop-invariant.c b/gcc/loop-invariant.c index d6ca8eb6af0..91c5d05c6f5 100644 --- a/gcc/loop-invariant.c +++ b/gcc/loop-invariant.c @@ -1243,6 +1243,7 @@ move_invariant_reg (struct loop *loop, unsigned invno) if (op != reg) emit_move_insn (reg, op); seq = get_insns (); + unshare_all_rtl_in_chain (seq); end_sequence (); if (!seq_insns_valid_p (seq)) |