From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23483 invoked by alias); 2 Nov 2006 02:51:54 -0000 Received: (qmail 23447 invoked by uid 48); 2 Nov 2006 02:51:45 -0000 Date: Thu, 02 Nov 2006 02:51:00 -0000 Message-ID: <20061102025145.23446.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/29302] nan_inf_fmt.f90 segfaults on Darwin PPC starting with Xcode 2.4 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "howarth at nitro dot med dot uc dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-11/txt/msg00113.txt.bz2 List-Id: ------- 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