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/60543] [4.7/4.8/4.9 Regression] Function with side effect removed by the optimizer.


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...


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