2017-12-15 Markus Trippelsdorf <markus@trippelsdorf.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / errnocheck_1.f90
blob9990e5a180f5bf57d80f0bfdd72d67dad9ebdb4f
1 ! { dg-do compile { target i?86-*-* x86_64-*-* } }
2 ! Fortran should default to -fno-math-errno
3 ! and thus no call to sqrt in asm
4 subroutine mysqrt(a)
5 real(KIND=KIND(0.0D0)) :: a
6 a=sqrt(a)
7 end subroutine
8 ! { dg-final { scan-assembler-times "call" 0 } }