Commit fa212801 by Dave Brolley Committed by Dave Brolley

varasm.c (compare_constant_1): Handle RANGE_EXPR.

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
parent 84663f74
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> 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. * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
......
...@@ -2563,6 +2563,7 @@ compare_constant_1 (exp, p) ...@@ -2563,6 +2563,7 @@ compare_constant_1 (exp, p)
case PLUS_EXPR: case PLUS_EXPR:
case MINUS_EXPR: case MINUS_EXPR:
case RANGE_EXPR:
p = compare_constant_1 (TREE_OPERAND (exp, 0), p); p = compare_constant_1 (TREE_OPERAND (exp, 0), p);
if (p == 0) if (p == 0)
return 0; return 0;
...@@ -2739,6 +2740,7 @@ record_constant_1 (exp) ...@@ -2739,6 +2740,7 @@ record_constant_1 (exp)
case PLUS_EXPR: case PLUS_EXPR:
case MINUS_EXPR: case MINUS_EXPR:
case RANGE_EXPR:
record_constant_1 (TREE_OPERAND (exp, 0)); record_constant_1 (TREE_OPERAND (exp, 0));
record_constant_1 (TREE_OPERAND (exp, 1)); record_constant_1 (TREE_OPERAND (exp, 1));
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment