]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gfortran.dg/dec_math.f90: Add comment regarding F2023 [PR113413]
authorTobias Burnus <tburnus@baylibre.com>
Tue, 13 May 2025 22:53:50 +0000 (00:53 +0200)
committerTobias Burnus <tburnus@baylibre.com>
Tue, 13 May 2025 22:53:50 +0000 (00:53 +0200)
gcc/testsuite/ChangeLog:

PR fortran/113413
* gfortran.dg/dec_math.f90: Add comment that degree
functions are part of F2023.

gcc/testsuite/gfortran.dg/dec_math.f90

index dbb4bdbefb9c5c3c94cdb7b2a1125c6f6f6ccab5..79c1807a1c70348265b9beeb1639b3f2285a7b52 100644 (file)
@@ -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