[Bug fortran/51267] loop optimization error using LOC function
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Tue Nov 22 21:34:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51267
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-11-22 21:03:51 UTC ---
> -fno-tree-ds seems to do the trick:
sorry, it is -fno-tree-dse and
> -ftree-dse
> Perform dead store elimination (DSE) on trees. A dead store is a store into a memory location
> which will later be overwritten by another store without any intervening loads.
> In this case the earlier store can be deleted. This flag is enabled by default at -O and higher.
(it makes more sense;-).
More information about the Gcc-bugs
mailing list