[Bug fortran/57749] -ffpe-trap=zero or invalid produces SIGFPE on complex zero ** 1e0

anlauf at gmx dot de gcc-bugzilla@gcc.gnu.org
Fri Jun 28 18:52:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57749

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #1 from Harald Anlauf <anlauf at gmx dot de> ---
I can reproduce the exception only for -O0, but not for -O1.

Note that the exponent is real (1e0), not an integer, and
x**y is singular for x=0 and arbitrary y.

Did you expect that the result should be well-defined?



More information about the Gcc-bugs mailing list