Retro68/gcc/gcc/testsuite/gfortran.dg/errnocheck_1.f90
2015-08-28 17:33:40 +02:00

9 lines
254 B
Fortran

! { dg-do compile { target i?86-*-* x86_64-*-* } }
! Fortran should default to -fno-math-errno
! and thus no call to sqrt in asm
subroutine mysqrt(a)
real(KIND=KIND(0.0D0)) :: a
a=sqrt(a)
end subroutine
! { dg-final { scan-assembler-times "call" 0 } }