[Bug fortran/51267] loop optimization error using LOC function
sgk at troutmask dot apl.washington.edu
gcc-bugzilla@gcc.gnu.org
Fri Nov 25 16:27:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51267
--- Comment #8 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2011-11-25 15:58:34 UTC ---
On Fri, Nov 25, 2011 at 09:37:15AM +0000, priv123 at hotmail dot fr wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51267
>
> --- Comment #7 from Mathieu <priv123 at hotmail dot fr> 2011-11-25 09:37:15 UTC ---
> (In reply to comment #6)
> > This does not "fix" the problem. (Note, I initialized
> > tab=42 and ius=1; otherwise, you reference an undefined
> > variables.)
>
> Steve, I can't reproduce that you obtained.
> Even if I initialized tab & ius differently.
>
> > you reference an undefined variables.
>
> No, tab should be filled through ius(offset).
>
Not from the point of view of Fortran.
> Did you use a newer built ?
gcc version 4.7.0 20111122 (experimental) (GCC)
> What changes to the code ?
I suspect that the difference if due to differences in
the target. My results are for x86_64-*-freebsd.
More information about the Gcc-bugs
mailing list