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:
parent
84663f74ca
commit
fa212801e1
2 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue