* optabs.c (gen_cond_trap): Fix prepare_operand typo.
authorRichard Henderson <rth@redhat.com>
Wed, 11 Jun 2003 06:43:43 +0000 (23:43 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 11 Jun 2003 06:43:43 +0000 (23:43 -0700)
From-SVN: r67753

gcc/ChangeLog
gcc/optabs.c

index 78388be30545d7d8cdc80f3721f13a56135793c2..ed908616c2183b682d1313840f6e9199a62ae371 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-10  Richard Henderson  <rth@redhat.com>
+
+       * optabs.c (gen_cond_trap): Fix prepare_operand typo.
+
 2003-06-10  Richard Henderson  <rth@redhat.com>
 
        * config/ia64/ia64.md (call_gp): Fix memory mode.
index d7e74e4a46f3502217947bc3bd9bc4f8e718f994..06299e8ffdafbabbc27b51dfc075e9203b11bdf7 100644 (file)
@@ -5849,7 +5849,7 @@ gen_cond_trap (code, op1, op2, tcode)
 
   start_sequence ();
   op1 = prepare_operand (icode, op1, 0, mode, mode, 0);
-  op2 = prepare_operand (icode, op2, 0, mode, mode, 0);
+  op2 = prepare_operand (icode, op2, 1, mode, mode, 0);
   emit_insn (GEN_FCN (icode) (op1, op2));
 
   PUT_CODE (trap_rtx, code);