[Bug fortran/57496] I/O: WRITE(*,*) HUGE(0._10) gives SIGFPE with -ffpe-trap=overflow
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 3 09:31:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57496
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|I/O: WRITE(*,*) HUGE(0_16) |I/O: WRITE(*,*) HUGE(0._10)
|[REAL(10)+REAL(16)]: Gives |gives SIGFPE with
|SIGFPE with |-ffpe-trap=overflow
|-ffpe-trap=overflow |
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
The commit in comment 3 solved the problem for REAL(16).
For REAL(10) (= long double), there is still a problem:
print *, HUGE(0.0_10)
end
gives a SIGFPE with -ffpe-trap=overflow. See comment 2 for details.
More information about the Gcc-bugs
mailing list