[AArch64] Merge stores of D-register values with different modes
[official-gcc.git] / gcc / testsuite / gfortran.dg / gamma_4.f90
blobcb3d79da3e7bab9f956bb616fabf34776179340f
1 ! { dg-do run }
2 ! { dg-require-effective-target fortran_large_real }
4 ! Test the Fortran 2008 intrinsics gamma and log_gamma
6 ! PR fortran/32980
8 program gamma_test
9 implicit none
10 intrinsic :: gamma, log_gamma
11 integer, parameter :: qp = selected_real_kind(precision (0.0_8) + 1)
13 real(qp) :: rqp
15 if (abs(gamma(1.0_qp) - 1.0_qp) > tiny(1.0_qp)) STOP 1
16 if (abs(log_gamma(1.0_qp)) > tiny(1.0_qp)) STOP 2
17 end program gamma_test