diff options
author | Richard Henderson <rth@cygnus.com> | 1999-09-02 21:51:35 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-09-02 21:51:35 -0700 |
commit | 8a34409df67594337075cf40e4a8f23f3102ab95 (patch) | |
tree | 3f20e6062b217a74b198f0bee02d536a7fe51ce3 /gcc/reload1.c | |
parent | 42f7a8d48f5fe360f7ec514f8bfaa69a574a16d4 (diff) | |
download | gcc-8a34409df67594337075cf40e4a8f23f3102ab95.zip gcc-8a34409df67594337075cf40e4a8f23f3102ab95.tar.gz gcc-8a34409df67594337075cf40e4a8f23f3102ab95.tar.bz2 |
reload1.c (eliminate_regs_in_insn): Avoid eliminating the reg notes on a deleted insn.
* reload1.c (eliminate_regs_in_insn): Avoid eliminating the
reg notes on a deleted insn.
* gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
From-SVN: r29076
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 8b92b43..2a107e8 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -3355,7 +3355,10 @@ eliminate_regs_in_insn (insn, replace) If REPLACE isn't set, we can't delete this insn, but needn't process it since it won't be used unless something changes. */ if (replace) - delete_dead_insn (insn); + { + delete_dead_insn (insn); + return 1; + } val = 1; goto done; } |