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
This commit is contained in:
Dave Brolley 1998-08-31 12:57:45 +00:00 committed by Dave Brolley
parent 84663f74ca
commit fa212801e1
2 changed files with 7 additions and 0 deletions

View 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.

View 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;