Fix for IA-64 abort compiling xaaPCache.c from XFree86

Fix for IA-64 abort compiling xaaPCache.c from XFree86
	* unroll.c (final_giv_value): Pass increment through
	extend_value_for_giv before passing it to emit_iv_add_mult.

From-SVN: r36517
This commit is contained in:
Jim Wilson 2000-09-18 22:48:52 +00:00 committed by Jim Wilson
parent e0efd58f0f
commit ec919c984e
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2000-09-18 Jim Wilson <wilson@cygnus.com>
* unroll.c (final_giv_value): Pass increment through
extend_value_for_giv before passing it to emit_iv_add_mult.
* function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
paradoxical subreg, then directly substitute the replacement and
return.

View File

@ -3349,7 +3349,8 @@ final_giv_value (loop, v)
/* Put the final biv value in tem. */
tem = gen_reg_rtx (v->mode);
record_base_value (REGNO (tem), bl->biv->add_val, 0);
emit_iv_add_mult (increment, GEN_INT (n_iterations),
emit_iv_add_mult (extend_value_for_giv (v, increment),
GEN_INT (n_iterations),
extend_value_for_giv (v, bl->initial_value),
tem, insert_before);