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 middle-end/66462] GCC isinf/isnan/... builtins cause sNaN exceptions


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66462

Bill Sacks <sacks at ucar dot edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sacks at ucar dot edu

--- Comment #9 from Bill Sacks <sacks at ucar dot edu> ---
I have found that, with gfortran, the following all lead to a SIGFPE if I
compile with -ffpe-trap=invalid:

(1) ieee_value(my_nan, ieee_quiet_nan)

(2) ieee_value(my_nan, ieee_signaling_nan)

(3) ieee_is_nan called on a signaling NaN

(4) gfortran's built-in isnan called on a signaling NaN

(5) ieee_class called on a signaling NaN

(See https://github.com/NCAR/billsacks-gfortran-snan/tree/master_n01 for test
code and more information.)

Are all of these duplicate problems to the one reported here, or are some of
these separate issues that should be opened?

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