reload1.c (reload_cse_regs_1): Do not call reload_cse_simplify_operands for an insn...
authorJeffrey A Law <law@cygnus.com>
Sat, 16 Jan 1999 22:50:19 +0000 (22:50 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 16 Jan 1999 22:50:19 +0000 (15:50 -0700)
        * reload1.c (reload_cse_regs_1): Do not call
        reload_cse_simplify_operands for an insn with asm operands.

From-SVN: r24707

gcc/ChangeLog
gcc/reload1.c

index 800556e..448a4e1 100644 (file)
@@ -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.
index 735ed93..1c53f01 100644 (file)
@@ -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