[Bug fortran/60543] [4.7/4.8/4.9 Regression] Function with side effect removed by the optimizer.
mikael at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 24 20:43:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60543
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikael at gcc dot gnu.org
--- Comment #14 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Sarantis Pantazis from comment #13)
> > Did you update the compiler name in your makefile?
>
> I have left the line COMPILER=gfortran at the top as it is and I have
> defined an alias in my ~/.bashrc for gfortran pointing to the newly
> installed location (alias gfortran='$HOME/latestGcc/gcc-build/gcc/gfortran').
>
>
> > cp MOD/generalfunctions.mod generalFunctions.mod.gz
> > gunzip generalFunctions.mod.gz
>
> I get "gzip: generalFunctions.mod.gz: not in gzip format". But anyway, the
> mod file is readable so I can skip to the third line.
>
This means you are using an old compiler.
Did you install the compiler (i.e. run 'make install')?
Do you get gzip'ed modules if you use .../gcc/f951 instead of .../gcc/gfortran?
More information about the Gcc-bugs
mailing list