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/65450] [5.0 Regression]: Unaligned access with -O3 -mtune=k8


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65450

--- Comment #4 from UroÅ Bizjak <ubizjak at gmail dot com> ---
(In reply to UroÅ Bizjak from comment #0)
> The compiler generates unaligned access for Polyhedron channel.f90 test when
> compiled with -O2 -mtune=k8:

Whoops, this should read "-O3 -mtune=k8".
> 
> /home/uros/gcc-build/gcc/gfortran -B/home/uros/gcc-build/gcc
> -B/home/uros/gcc-build/x86_64-unknown-linux-gnu/libgfortran/ 
> -B/home/uros/gcc-build/x86_64-unknown-linux-gnu/libquadmath/.libs
> -L/home/uros/gcc-build/x86_64-unknown-linux-gnu/libgfortran/.libs
> -L-L/home/uros/gcc-build/x86_64-unknown-linux-gnu/libquadmath/.libs -O2
> -ffast-math -mtune=k8 channel.f90

And here. Correct flags are "-O3 -mtune=k8".  Everything reported is compiled
with these two flags only.

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