------- Comment #13 from sgk at troutmask dot apl dot washington dot edu 2006-10-28 01:40 ------- Subject: Re: lapack runs into infinite loop with -03
On Sat, Oct 28, 2006 at 01:34:48AM -0000, fkar at nemesis-project dot org wrote: > > I used (on three different XP boxes) the source code as provided by netlib > http://www.netlib.org/lapack/lapack.tgz, > the latest gfortran binaries, namely > http://quatramaran.ens.fr/~coudert/gfortran/gfortran-windows.exe, > posted on > http://gcc.gnu.org/wiki/GFortranBinaries, > and dated 2006-10-21 (mingw build), and I followed the (fairly) > straightforward > instructions given in the description. I also used g77 (included in mingw > 3.4.2., now dropped from the gcc mainline) always ending up in the same > result, > reproducible by anyone but me, hence I do not think that this should be filed > then as a bug. > I appreciate your time very much. > Are you building slamch.f and dlamch.f with -O3 or even -O1? Don't. These files try to determine machine values (e.g., epsilon). Optimization can give some really strange answers. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29621