This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/57496] I/O: WRITE(*,*) HUGE(0._10) gives SIGFPE with -ffpe-trap=overflow
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Jun 2013 09:31:52 +0000
- Subject: [Bug fortran/57496] I/O: WRITE(*,*) HUGE(0._10) gives SIGFPE with -ffpe-trap=overflow
- Auto-submitted: auto-generated
- References: <bug-57496-4 at http dot gcc dot gnu dot org/bugzilla/>
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.