https://gcc.gnu.org/g:abe8cd9ba6bf8581fd4e4f23c75a15eec276cc00
commit r16-603-gabe8cd9ba6bf8581fd4e4f23c75a15eec276cc00 Author: Tobias Burnus <tbur...@baylibre.com> Date: Wed May 14 00:53:50 2025 +0200 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: --- gcc/testsuite/gfortran.dg/dec_math.f90 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/testsuite/gfortran.dg/dec_math.f90 b/gcc/testsuite/gfortran.dg/dec_math.f90 index dbb4bdbefb9c..79c1807a1c70 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