Fix time/space problem when (const_int 1) occurs in conflict_list.
* genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT. (add_values_to_cover): Revert last change (which had no ChangeLog entry). (simplify_with_current_value_aux): Handle CONST_INT. From-SVN: r17421
This commit is contained in:
parent
829e1aaf72
commit
5830e3a0ca
|
@ -1,3 +1,10 @@
|
|||
Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
|
||||
(add_values_to_cover): Revert last change (which had no ChangeLog
|
||||
entry).
|
||||
(simplify_with_current_value_aux): Handle CONST_INT.
|
||||
|
||||
Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||
|
||||
* unprotoize.c: Define UNPROTOIZE first, to actually take effect.
|
||||
|
|
|
@ -3711,6 +3711,7 @@ find_and_mark_used_attributes (exp, terms, nterms)
|
|||
MEM_VOLATILE_P (exp) = 1;
|
||||
}
|
||||
case CONST_STRING:
|
||||
case CONST_INT:
|
||||
return 1;
|
||||
|
||||
case IF_THEN_ELSE:
|
||||
|
@ -3780,7 +3781,7 @@ add_values_to_cover (dim)
|
|||
abort ();
|
||||
else if (nalt == dim->num_values)
|
||||
; /* Ok. */
|
||||
else if (nalt * 2 >= dim->num_values)
|
||||
else if (nalt * 2 < dim->num_values * 3)
|
||||
{
|
||||
/* Most all the values of the attribute are used, so add all the unused
|
||||
values. */
|
||||
|
@ -3916,6 +3917,7 @@ simplify_with_current_value_aux (exp)
|
|||
else
|
||||
return true_rtx;
|
||||
case CONST_STRING:
|
||||
case CONST_INT:
|
||||
return exp;
|
||||
|
||||
case IF_THEN_ELSE:
|
||||
|
|
Loading…
Reference in New Issue