]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/13990 (build fails because of wrong use of gen_rtx_NE)
authorStephane Carrez <stcarrez@nerim.fr>
Sat, 7 Feb 2004 16:45:11 +0000 (17:45 +0100)
committerStephane Carrez <ciceron@gcc.gnu.org>
Sat, 7 Feb 2004 16:45:11 +0000 (17:45 +0100)
PR bootstrap/13990
* config/m68hc11/m68hc11.md ("doloop_end"): Pass dummy arguments to
gen_rtx_NE.

From-SVN: r77459

gcc/ChangeLog
gcc/config/m68hc11/m68hc11.md

index 51b1b7894ec533fadda34e6cd507fc5396a06390..20b7ff2a2f7eb636d4f4ae1346017e327e6d2efa 100644 (file)
@@ -1,3 +1,9 @@
+2004-02-07  Stephane Carrez  <stcarrez@nerim.fr>
+
+       PR bootstrap/13990
+       * config/m68hc11/m68hc11.md ("doloop_end"): Pass dummy arguments to
+       gen_rtx_NE.
+
 2004-02-07  Josef Zlomek  <zlomekj@suse.cz>
 
        * var-tracking.c (vt_add_function_parameters): Surround checkings by
index 1d82f592783c3878868af1ce45fbe6bad3b451d7..deea2318fa0c444b7867733fcef2579c6edd49cb 100644 (file)
     {
       FAIL;
     }
+
+  /* Note that for xxx_dbcc_dec_yy the gen_rtx_NE is only used to pass
+     the operator and its operands are not relevant.  */
   if (GET_MODE (operands[0]) == HImode)
     {
       emit_jump_insn (gen_m68hc12_dbcc_dec_hi (operands[0],
-                                              gen_rtx_NE (HImode),
+                                              gen_rtx_NE (HImode,
+                                                          operands[0],
+                                                          const1_rtx),
                                               operands[4]));
       DONE;
     }
   if (GET_MODE (operands[0]) == QImode)
     {
       emit_jump_insn (gen_m68hc12_dbcc_dec_qi (operands[0],
-                                              gen_rtx_NE (QImode),
+                                              gen_rtx_NE (QImode,
+                                                          operands[0],
+                                                          const1_rtx),
                                               operands[4]));
       DONE;
     }