http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57749
--- Comment #17 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > The actual code where the original issue occurred had the exponentiation > in the deep of nested loops, it would have been rather time consuming > to test base==0 > at the Fortran level Sorry, but I don't buy the argument. The cost of the test will likely be the same in gfortran or in the library. > And I still do not understand why if the exponent is integer no > exception is raised and > the expected result zero is delivered. When the exponent is integer, the computation is done through multiplications and zero times anything finite is zero.