diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-22 13:11:31 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-22 13:11:31 +0000 |
commit | 57ff0c055d483b89d95d2c8fc70f40eaf105229d (patch) | |
tree | 3dc71ee0033d2efbf9c8a4e8c88dd81a231e3a57 /gcc/reload.c | |
parent | e1e4139f3b01df6a16898b70bad29bfe44856728 (diff) | |
download | gcc-57ff0c055d483b89d95d2c8fc70f40eaf105229d.tar.gz |
* rtl.h (shallow_copy_rtx): Declare.
* rtl.c (shallow_copy_rtx): New function.
* reload.c (find_reloads_toplev): Use shallow_copy_rtx instead of
copy_rtx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25897 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index 8ba0621068d..a68f2efa661 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -4517,7 +4517,7 @@ find_reloads_toplev (x, opnum, type, ind_levels, is_set_dest, insn) not to do the change. */ if (new_part != XEXP (x, i) && ! CONSTANT_P (new_part) && ! copied) { - x = copy_rtx (x); + x = shallow_copy_rtx (x); copied = 1; } XEXP (x, i) = new_part; |