This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/51267] loop optimization error using LOC function
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 May 2012 13:05:42 +0000
- Subject: [Bug fortran/51267] loop optimization error using LOC function
- Auto-submitted: auto-generated
- References: <bug-51267-4@http.gcc.gnu.org/bugzilla/>
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