Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 1995 22:36:12 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        kargl@troutmask.apl.washington.edu (Steven G Kargl)
Cc:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Subject:   Re: optimization is broken for f77
Message-ID:  <199503092136.WAA08416@uriah.heep.sax.de>
In-Reply-To: <199503091940.LAA29261@troutmask.apl.washington.edu> from "Steven G Kargl" at Mar 9, 95 11:40:48 am

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503092136.WAA08416>