This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: An ICE with gfortran 4.6.1, optimization -O3, not with -O2.


On 08/23/2011 11:05 PM, Steve Kargl wrote:

On Tue, Aug 23, 2011 at 01:45:21PM -0700, Steve Kargl wrote:

It's this statement:

xkcoef(npne(jn)+jm)=-zxxx*(zjm**2+zjn**2)**0.5_jprb

in subroutine posnam that is causing the ICE.  If one
uses the good old fashion sqrt(), the code compiles.

Here's the reduce test case that Toon meant to send.

:-)


Thanks !

--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]