(get_condition): Use CONST0_RTX instead of const0_rtx.
authorDoug Evans <dje@gnu.org>
Thu, 5 Jan 1995 17:37:00 +0000 (17:37 +0000)
committerDoug Evans <dje@gnu.org>
Thu, 5 Jan 1995 17:37:00 +0000 (17:37 +0000)
From-SVN: r8721

gcc/loop.c

index 885a7f46a54db923bf85500930d175967d139a00..bb48a9ef1c4fc973708662408dc7e26586c86375 100644 (file)
@@ -6397,7 +6397,7 @@ get_condition (jump, earliest)
      the same tests as a function of STORE_FLAG_VALUE as find_comparison_args
      in cse.c  */
 
-  while (GET_RTX_CLASS (code) == '<' && op1 == const0_rtx)
+  while (GET_RTX_CLASS (code) == '<' && op1 == CONST0_RTX (GET_MODE (op0)))
     {
       /* Set non-zero when we find something of interest.  */
       rtx x = 0;