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: Optimisation prevents overflow?


Janne Blomqvist wrote:
>> Would you say that "foo" is not portable?
> 
> Yes. If you need more precision or range than what real(8) provides
> you have to use a type with more precision and/or range rather than
> relying on the compiler to keep the variable in the 80-bit x87
> register stack.

But how do I identify those parts of the code that are relying on extra
precision? As you said, in principle all the code is doing it.

Davide


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