[Bug fortran/35877] difference between result in optimized and normal executable

2008-04-14 Thread dmarkman at mac dot com
--- Comment #3 from dmarkman at mac dot com 2008-04-14 21:47 --- Hi, first of all thanks for your comment I don't use i0 in the program - it's inside of the quotes so test is fine I made all changes you made and still in 4.3 (opt) I'm getting (+Inf, Nan) it looks like that 4.4 fixes that

[Bug fortran/35877] difference between result in optimized and normal executable

2008-04-14 Thread jb at gcc dot gnu dot org
--- Comment #2 from jb at gcc dot gnu dot org 2008-04-14 18:09 --- Well, your test case is invalid anyway (i0 is referenced before being defined). Here's a standard conforming portable version that compiles with "-Wall -pedantic -std=f2003": program short_test_inf impli

[Bug fortran/35877] difference between result in optimized and normal executable

2008-04-08 Thread dmarkman at mac dot com
--- Comment #1 from dmarkman at mac dot com 2008-04-08 21:09 --- I meant Note: gfortran4.2.3 returns for both (optimized/non optimized) NaN, NaN intel 10 fortran has exactly the same behaviour as gfortran 4.3.0: optimized Inf,NaN non optimized NaN,Nan -- http://gcc.gnu.org/bugzilla/