https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94270
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by Thomas Kथà¤nig <tkoe...@gcc.gnu.org>: https://gcc.gnu.org/g:5e67ee3aa084a54f59c0848c32c17faddbb04c4c commit r8-10179-g5e67ee3aa084a54f59c0848c32c17faddbb04c4c Author: Thomas König <tkoe...@gcc.gnu.org> Date: Tue Apr 14 18:45:59 2020 +0200 Backport from trunk of the fix for PR 94270. 2020-04-14 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk. PR fortran/94270 * trans-decl.c (generate_local_decl): Do not warn if the symbol is artifical. 2020-04-14 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/94270 * gfortran.dg/warn_unused_dummy_argument_6.f90: New test.