diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 800556efae8..448a4e1c4e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ Sat Jan 16 23:40:33 1999 Jeffrey A Law (law@cygnus.com) + * reload1.c (reload_cse_regs_1): Do not call + reload_cse_simplify_operands for an insn with asm operands. + * cccp.c (print_help): Fix typos. * cpplib.c (print_help): Fix typos. * toplev.c (f_optiosn): Fix typos. 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