| 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 } } |