[Bug fortran/23318] program works correctly with -g option but fails with -O option on LINUX

2005-08-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-11 13:43 --- Hmm, -fno-tree-loop-im fixes it for some reason -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23318

[Bug fortran/23318] program works correctly with -g option but fails with -O option on LINUX

2005-08-11 Thread dir at lanl dot gov
--- 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

[Bug fortran/23318] program works correctly with -g option but fails with -O option on LINUX

2005-08-10 Thread kargl at gcc dot gnu dot org
--- Additional Comments From kargl at gcc dot gnu dot org 2005-08-10 20:19 --- I suggest running the code through ftnchek and fixing potential problems. These looks suspicious Warning in module MAIN in file show_bug.f: Variables used before set IDATWR used at line 15 file show_bug.