varasm.c (compare_constant_1): Handle RANGE_EXPR.
authorDave Brolley <brolley@cygnus.com>
Mon, 31 Aug 1998 12:57:45 +0000 (12:57 +0000)
committerDave Brolley <brolley@gcc.gnu.org>
Mon, 31 Aug 1998 12:57:45 +0000 (08:57 -0400)
Mon Aug 31 15:42:18 1998  Dave Brolley  <brolley@cygnus.com>
* varasm.c (compare_constant_1): Handle RANGE_EXPR.
(record_constant_1): Handle RANGE_EXPR.

From-SVN: r22132

gcc/ChangeLog
gcc/varasm.c

index 4014fc28af305800222ab591cae53b3eb933a759..b5bc8bf12521e2ed05a00e2905f8ba7cbb467fd6 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug 31 15:42:18 1998  Dave Brolley  <brolley@cygnus.com>
+
+       * varasm.c (compare_constant_1): Handle RANGE_EXPR.
+       (record_constant_1): Handle RANGE_EXPR.
+
 Mon Aug 31 10:54:03 1998  Richard Henderson  <rth@cygnus.com>
 
        * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
index 39e09c76f22c97e5da27079652766dad23ab6669..4d98dbcafa272b2a81bb833efe8b7eb204d32751 100644 (file)
@@ -2563,6 +2563,7 @@ compare_constant_1 (exp, p)
 
     case PLUS_EXPR:
     case MINUS_EXPR:
+    case RANGE_EXPR:
       p = compare_constant_1 (TREE_OPERAND (exp, 0), p);
       if (p == 0)
        return 0;
@@ -2739,6 +2740,7 @@ record_constant_1 (exp)
 
     case PLUS_EXPR:
     case MINUS_EXPR:
+    case RANGE_EXPR:
       record_constant_1 (TREE_OPERAND (exp, 0));
       record_constant_1 (TREE_OPERAND (exp, 1));
       return;