diff options
author | Geoff Keating <geoffk@cygnus.com> | 2000-09-19 04:49:44 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2000-09-19 04:49:44 +0000 |
commit | 62f7f1f5688a2d4716f5523f08af3299c682da49 (patch) | |
tree | 2826a7f2556a8586adac2611822c199823933948 /gcc/combine.c | |
parent | 3f80e6acb17b52b491c82a472828ae727f00db72 (diff) | |
download | gcc-62f7f1f5688a2d4716f5523f08af3299c682da49.zip gcc-62f7f1f5688a2d4716f5523f08af3299c682da49.tar.gz gcc-62f7f1f5688a2d4716f5523f08af3299c682da49.tar.bz2 |
combine.c (can_combine_p): Don't substitute an ASM_OPERANDS into anything.
* combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
into anything.
From-SVN: r36525
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index a498b58..9f59837 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -1058,6 +1058,8 @@ can_combine_p (insn, i3, pred, succ, pdest, psrc) /* Don't combine with an insn that sets a register to itself if it has a REG_EQUAL note. This may be part of a REG_NO_CONFLICT sequence. */ || (rtx_equal_p (src, dest) && find_reg_note (insn, REG_EQUAL, NULL_RTX)) + /* Can't merge an ASM_OPERANDS. */ + || GET_CODE (src) == ASM_OPERANDS /* Can't merge a function call. */ || GET_CODE (src) == CALL /* Don't eliminate a function call argument. */ |