This is the mail archive of the gcc-bugs@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]

[Bug fortran/57496] I/O: WRITE(*,*) HUGE(0._10) gives SIGFPE with -ffpe-trap=overflow


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.


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