[Bug libfortran/93871] COTAN is slow for complex types

thenlich at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 24 07:42:00 GMT 2020


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

--- Comment #17 from Thomas Henlich <thenlich at gcc dot gnu.org> ---
The following should give an error message, not a ICE:

program test_dtrig2
  real, parameter :: d = asind(1.1)
  print *, d
end

gfortran -fdec-math test_dtrig2.f90
f951.exe: internal compiler error: Segmentation fault
...

program test_dtrig2
  real, parameter :: d = asin(1.1)
  print *, d
end

test_dtrig2.f90:2:30:

    2 |   real, parameter :: d = asin(1.1)
      |                              1
Error: Argument of ASIN at (1) must be between -1 and 1


More information about the Gcc-bugs mailing list