summaryrefslogtreecommitdiffstats
path: root/gcc/reload1.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-16 22:50:19 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-16 22:50:19 +0000
commit50011c7bcf7efc342d6d89ea6c78e32ed29e1796 (patch)
tree6393cc4c5f105455f90f66fbfa9cf1e53fb99224 /gcc/reload1.c
parentaba4a9bf5e2805c0c44ad38d84078cb0e01070aa (diff)
downloadppe42-gcc-50011c7bcf7efc342d6d89ea6c78e32ed29e1796.tar.gz
ppe42-gcc-50011c7bcf7efc342d6d89ea6c78e32ed29e1796.zip
* reload1.c (reload_cse_regs_1): Do not call
reload_cse_simplify_operands for an insn with asm operands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24707 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 735ed93c411..1c53f013bb4 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -8688,7 +8688,7 @@ reload_cse_regs_1 (first)
if (count > 0)
apply_change_group ();
- else
+ else if (asm_noperands (PATTERN (insn)) < 0)
reload_cse_simplify_operands (insn);
reload_cse_record_set (body, body);
@@ -8745,7 +8745,7 @@ reload_cse_regs_1 (first)
if (count > 0)
apply_change_group ();
- else
+ else if (asm_noperands (PATTERN (insn)) < 0)
reload_cse_simplify_operands (insn);
/* Look through the PARALLEL and record the values being
OpenPOWER on IntegriCloud