[Bug fortran/51267] loop optimization error using LOC function

hubicka at ucw dot cz gcc-bugzilla@gcc.gnu.org
Wed May 2 13:06:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51267

--- Comment #12 from Jan Hubicka <hubicka at ucw dot cz> 2012-05-02 13:05:42 UTC ---
I am surprised that this does not happen already at PRE :)
Without volatile attribute there is really nothing that prevents GCC from doing
this optimization
and unfortunately I don't think we provide way to prevent it without this big
hammer.

We have fpcr register defined for the control word that is accepted in clobber
list, but there
is no way to express use of this I think.

Honza



More information about the Gcc-bugs mailing list