loop.c (load_mems): Don't hoist written floating point mem if -ffloat-store.

* loop.c (load_mems): Don't hoist written floating point mem
	if -ffloat-store.

From-SVN: r30875
This commit is contained in:
Stephen L Moshier 1999-12-12 18:38:14 +00:00 committed by Mark Mitchell
parent f54a7f6fe2
commit f0b60c1c2b
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1999-12-12 Stephen L Moshier <moshier@mediaone.net>
* loop.c (load_mems): Don't hoist written floating point mem
if -ffloat-store.
1999-12-12 Mark Mitchell <mark@codesourcery.com>
* except.h (struct eh_queue): Add `next' pointer.

View File

@ -9825,7 +9825,11 @@ load_mems (scan_start, end, loop_top, start)
}
mem_list_entry = XEXP (mem_list_entry, 1);
}
if (flag_float_store && written
&& GET_MODE_CLASS (GET_MODE (mem)) == MODE_FLOAT)
loop_mems[i].optimize = 0;
/* If this MEM is written to, we must be sure that there
are no reads from another MEM that aliases this one. */
if (loop_mems[i].optimize && written)