https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94270
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Thomas Kथà¤nig <tkoe...@gcc.gnu.org>: https://gcc.gnu.org/g:3b0e49a52e1884b501861c128b0a98dec50bdd2e commit r10-7712-g3b0e49a52e1884b501861c128b0a98dec50bdd2e Author: Thomas König <tkoe...@gcc.gnu.org> Date: Tue Apr 14 13:50:51 2020 +0200 Fix PR 94270 by not warning about artifical dummy arguments. 2020-04-14 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/94270 * interface.c (gfc_get_formal_from_actual_arglist): Always set artificial attribute for symbols. * trans-decl.c (generate_local_decl): Do not warn if the symbol is artifical. 2020-04-14 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/94270 * gfortran.dg/warn_unused_dummy_argument_6.f90: New test.