This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [patch] Allow building libgfortran as a DLL


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


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