From owner-freebsd-current Thu Mar 9 15:34:59 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA26093 for current-outgoing; Thu, 9 Mar 1995 15:34:59 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id PAA25905 for ; Thu, 9 Mar 1995 15:27:33 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA12756; Thu, 9 Mar 1995 22:40:48 +0100 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id WAA00922; Thu, 9 Mar 1995 22:40:47 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.9/8.6.9) id WAA08416; Thu, 9 Mar 1995 22:36:14 +0100 From: J Wunsch Message-Id: <199503092136.WAA08416@uriah.heep.sax.de> Subject: Re: optimization is broken for f77 To: kargl@troutmask.apl.washington.edu (Steven G Kargl) Date: Thu, 9 Mar 1995 22:36:12 +0100 (MET) Cc: freebsd-current@FreeBSD.org (FreeBSD-current users) In-Reply-To: <199503091940.LAA29261@troutmask.apl.washington.edu> from "Steven G Kargl" at Mar 9, 95 11:40:48 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 735 Sender: current-owner@FreeBSD.org Precedence: bulk As Steven G Kargl wrote: > > It appears that optimization of Fortran compilations is broken > if the source code contains continuation lines. I have a code > foo1.f with several continuation lines: > > f77 -o foo1 -g foo1.f [compiles and runs and gives foo1.dat] > f77 -o foo2 -g -O foo1.f [compiles but dies with SIGFPE] > f77 -o foo2 -g -O2 foo1.f [compiles but dies with SIGFPE at same place] gcc optimization problem. I've also stumpled across it when porting the acm flight simulator, though acm happens to work when compiled with -O only. Ask Bruce for the details. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)