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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
No, fails for so simple example as:

$ cat use2.f90
elemental real function sin(arg)
  !GCC$ attributes FASTCALL :: sin
  real, intent(in) :: arg
  sin = -42.0
end function

program test_overloaded_intrinsic
  real(4) :: x(3200), y(3200)
  y = sin(x)
  print *, y
end

$ gfortran use2.f90 -c
use2.f90:1:0:

 elemental real function sin(arg)

Warning: ‘fastcall’ attribute ignored [-Wattributes]

Reply via email to