From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10384 invoked by alias); 1 Nov 2006 04:56:17 -0000 Received: (qmail 10349 invoked by uid 48); 1 Nov 2006 04:56:09 -0000 Date: Wed, 01 Nov 2006 04:56:00 -0000 Message-ID: <20061101045609.10348.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: "jvdelisle at gcc dot gnu dot org" 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/msg00014.txt.bz2 List-Id: ------- Comment #17 from jvdelisle at gcc dot gnu dot org 2006-11-01 04:56 ------- Jack is right about one thing and I should have noticed this. For that test case we should never get into output_float where we are segfaulting. The handling of nan and inf are handled in the calling function write_float. So optimization is breaking something. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29302