This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23318] program works correctly with -g option but fails with -O option on LINUX
- From: "dir at lanl dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2005 13:41:46 -0000
- Subject: [Bug fortran/23318] program works correctly with -g option but fails with -O option on LINUX
- References: <20050810181815.23318.dir@lanl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dir at lanl dot gov 2005-08-11 13:41 -------
In pulling the routines out, I forgot to set n1=1 and zero the others, but it
does not affect the results. The rest of the warning messages indicate that
ftnchek does not know how to correctly handle a program that does its own
dynamic memory management. In this case, there is enough information for ftnchek
to tell that the program is correct - if it analyzed the program and did the
math symbolically. I suspect that it is impossible to make ftnchek happy with
this type of program.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23318