Commit 98166639 by Jakub Jelinek Committed by Jakub Jelinek

expr.c (can_store_by_pieces): Reinitialize max_size for reverse tests.

	* expr.c (can_store_by_pieces): Reinitialize max_size for reverse
	tests.

From-SVN: r37857
parent b2d7dd20
2000-11-29 Jakub Jelinek <jakub@redhat.com>
* expr.c (can_store_by_pieces): Reinitialize max_size for reverse
tests.
2000-11-29 Neil Booth <neilb@earthling.net>
* c-pragma.c (init_pragma): Update for parse_in type change.
......
......@@ -2263,7 +2263,7 @@ can_store_by_pieces (len, constfun, constfundata, align)
PTR constfundata;
unsigned int align;
{
unsigned HOST_WIDE_INT max_size = MOVE_MAX_PIECES + 1, l;
unsigned HOST_WIDE_INT max_size, l;
HOST_WIDE_INT offset = 0;
enum machine_mode mode, tmode;
enum insn_code icode;
......@@ -2286,6 +2286,7 @@ can_store_by_pieces (len, constfun, constfundata, align)
{
l = len;
mode = VOIDmode;
max_size = MOVE_MAX_PIECES + 1;
while (max_size > 1)
{
for (tmode = GET_CLASS_NARROWEST_MODE (MODE_INT);
......
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