From: Tobias Burnus Date: Tue, 13 May 2025 22:53:50 +0000 (+0200) Subject: gfortran.dg/dec_math.f90: Add comment regarding F2023 [PR113413] X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=abe8cd9ba6bf8581fd4e4f23c75a15eec276cc00;p=thirdparty%2Fgcc.git gfortran.dg/dec_math.f90: Add comment regarding F2023 [PR113413] gcc/testsuite/ChangeLog: PR fortran/113413 * gfortran.dg/dec_math.f90: Add comment that degree functions are part of F2023. --- diff --git a/gcc/testsuite/gfortran.dg/dec_math.f90 b/gcc/testsuite/gfortran.dg/dec_math.f90 index dbb4bdbefb9..79c1807a1c7 100644 --- a/gcc/testsuite/gfortran.dg/dec_math.f90 +++ b/gcc/testsuite/gfortran.dg/dec_math.f90 @@ -5,6 +5,12 @@ ! Test extra math intrinsics formerly offered by -fdec-math, ! now included with -std=gnu or -std=legacy. ! +! Since Fortran 2023, the degree trigonometric functions (sind, cosd, ...) +! are part of the standard; additionally, Fortran 2023 added a two-argument +! version of atand as alias for atan2d. +! +! Note that cotan and cotand are not part of Fortran 2023; hence, this file +! still requires -std=gnu and cannot be compiled with -std=f2023. module dec_math