This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/60543] [4.7/4.8/4.9 Regression] Function with side effect removed by the optimizer.
- From: "sarantis.pantazis at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Mar 2014 21:47:35 +0000
- Subject: [Bug fortran/60543] [4.7/4.8/4.9 Regression] Function with side effect removed by the optimizer.
- Auto-submitted: auto-generated
- References: <bug-60543-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60543
--- Comment #15 from Sarantis Pantazis <sarantis.pantazis at gmail dot com> ---
> Did you install the compiler (i.e. run 'make install')?
Yes, I did. I read http://gcc.gnu.org/install/index.html and made a summary of
the steps I followed (attached here). I also kept a log of "make" and "make
install" (also attached here).
I also tried changing COMPILER=gfortran to
COMPILER=/home/sarantis/latestGcc/gcc-build/gcc/gfortran and got the following
error:
gfortran: error trying to exec 'f951': execvp: No such file or directory
> Do you get gzip'ed modules if you use .../gcc/f951 instead of .../gcc/gfortran?
Compiling with COMPILER=/home/sarantis/latestGcc/gcc-build/gcc/f951 leads to
zipped files and no IMPLICIT_PURE. But f951 does not accept -c so no executable
was produced.
It seems it is something trivial but my knowledge outside of fortran is still
rather limited...