------- Comment #22 from howarth at nitro dot med dot uc dot edu 2006-11-02 02:51 ------- A couple other observations. The latest Xcode 2.4.1 release doesn't fix this problem. Also, shorter version of the testcase...
implicit none character*40 l character*12 fmt real zero, pos_inf zero = 0.0 pos_inf = 1.0/zero fmt = '(F0.0)' write(l,fmt=fmt)pos_inf end fails when zero and pos_inf is declared as real, real*4 or real*8 so all forms of the builtin isfinite macros are broken on Darwin PPC with Xcode 2.4.x. Also, if I compile write.c with -DHAVE_BROKEN_ISFINITE, the resulting libgfortran passes the nan_inf_fmt test. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29302