http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60543
--- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Yes, I did; I used "make clean" first (also "rm *.o *.f90 *.s" in the main
> folder to clean up the files generated by -save-temps).
Did you update the compiler name in your makefile? I have just been caught by
that when comparing the results in the bug_OPT1mode_withWRITE and
bug_OPT1mode_noWRITE directories. With the right compiler for both, I get
2000 1058 1005 1017
Can you do the following
cp MOD/generalfunctions.mod generalFunctions.mod.gz
gunzip generalFunctions.mod.gz
grep PURE generalFunctions.mod
you should only see
UNKNOWN-PROC DECL UNKNOWN 0 0 INTRINSIC FUNCTION PURE) () (CHARACTER 1 0
UNKNOWN-PROC DECL UNKNOWN 0 0 INTRINSIC FUNCTION PURE) () (CHARACTER 1 0
i.e., no IMPLICIT_PURE.