c/5914: Infinite loop when compiling with optimisation on of z_log.c of libf2c

Toon Moene toon@moene.indiv.nluug.nl
Sun Mar 17 13:56:00 GMT 2002


Ulrich Jakobus wrote:

> Just a final closing remark on this issue: On 2002-03-14 the sub-
> routine z_log.c as part if libf2c has been updated as follows so
> that the compilation problems with -O2 or -O3 are avoided when the
> define -DNO_DOUBLE_EXTENDED is used. Change of source and log message
> are from the f2c maintainer David M. Gay:
> 
>   14 March 2002: z_log.c: add code to cope with buggy compilers
>                  (e.g., some versions of gcc under -O2 or -O3)
>                  that do floating-point comparisons against values
>                  computed into extended-precision registers on some
>                  systems (such as Intel IA32 systems).  Compile with
>                  -DNO_DOUBLE_EXTENDED to omit the new logic.

Yep, that's a different way to solve the problem ...

I think I'll stick to compiling it with -ffloat-store, but I'm not
particularly fond of that solution ...

Cheers,

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)



More information about the Gcc-bugs mailing list