https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99171
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:e9b34037cdd196ab912a7ac3358f8a8d3e307e92 commit r11-7320-ge9b34037cdd196ab912a7ac3358f8a8d3e307e92 Author: Tobias Burnus <tob...@codesourcery.com> Date: Mon Feb 22 13:20:26 2021 +0100 Fortran/OpenMP: Fix optional dummy procedures [PR99171] gcc/fortran/ChangeLog: PR fortran/99171 * trans-openmp.c (gfc_omp_is_optional_argument): Regard optional dummy procs as nonoptional as no special treatment is needed. libgomp/ChangeLog: PR fortran/99171 * testsuite/libgomp.fortran/dummy-procs-1.f90: New test.