https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99061
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:c224f21418e105e5dbbcec98018d9329970afd84 commit r11-9263-gc224f21418e105e5dbbcec98018d9329970afd84 Author: Harald Anlauf <anl...@gmx.de> Date: Sun Nov 21 19:29:27 2021 +0100 Fortran: fix lookup for gfortran builtin math intrinsics used by DEC extensions gcc/fortran/ChangeLog: PR fortran/99061 * trans-intrinsic.c (gfc_lookup_intrinsic): Helper function for looking up gfortran builtin intrinsics. (gfc_conv_intrinsic_atrigd): Use it. (gfc_conv_intrinsic_cotan): Likewise. (gfc_conv_intrinsic_cotand): Likewise. (gfc_conv_intrinsic_atan2d): Likewise. gcc/testsuite/ChangeLog: PR fortran/99061 * gfortran.dg/dec_math_5.f90: New test. Co-authored-by: Steven G. Kargl <ka...@gcc.gnu.org> (cherry picked from commit 8fef6f720a5a0a056abfa986ba870bb406ab4716)