This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]