[Bug fortran/71544] gfortran compiler optimization bug when dealing with c-style pointers

noamb at bollweevil dot gdbg.org gcc-bugzilla@gcc.gnu.org
Wed Jun 15 17:36:00 GMT 2016


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

--- Comment #3 from noamb <noamb at bollweevil dot gdbg.org> ---
(In reply to noamb from comment #2)

> I do not observe correct behavior with the options that the previous comment
> list s as being turned on by -O1 (this is on OS X 10.10, macports gfortran
> 4.9.3):

Sorry - this is wrong.  It was just failing to recompile because of the uknown
-fssa-* options.   Once I actually recompile with the long list of
optimizations documented as corresponding to -O1, it does work correctly, as
the first comment says.  However, presence of options that are invalid for
4.9.3 in that list makes me think that perhaps the correct list of options in
that (moderately old) version is just different.


More information about the Gcc-bugs mailing list