[patch] Allow building libgfortran as a DLL
Dave Korn
dave.korn.cygwin@googlemail.com
Tue Aug 4 13:38:00 GMT 2009
Tim Prince wrote:
> Dave Korn wrote:
>
>>
>> I took a quick step through it in the debugger. It's possibly an
>> excess-precision FP thing. Can you point me at what code in the gfortran
>> startup is meant to set the FP precision and rounding (etc.) modes?
>>
>
> All these years I've been working with the apparent misconception that
> gnu compilers left these at hardware/OS default, with the possible
> exception of -ffast-math which should attempt to set abrupt underflow
> for SSE.
That's the difference between a compiler and a language runtime support
library. I don't know for a fact if fortran's runtime initialises the FPU but
the Ada runtime, for example, does.
cheers,
DaveK
More information about the Gcc-patches
mailing list