This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r275733 - in /branches/gcc-9-branch/gcc: fortra...
- From: tkoenig at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 15 Sep 2019 19:48:42 -0000
- Subject: r275733 - in /branches/gcc-9-branch/gcc: fortra...
Author: tkoenig
Date: Sun Sep 15 19:48:41 2019
New Revision: 275733
URL: https://gcc.gnu.org/viewcvs?rev=275733&root=gcc&view=rev
Log:
2019-09-15 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/91557
* trans-decl.c (generate_local_decl): Do not warn if the symbol
is artificial.
* trans-types.c (get_formal_from_actual_arglist): Set artificial
attribute on dummy arguments.
2019-09-15 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/91557
* gfortran.dg/warn_unused_dummy_argument_5.f90: New test.
Added:
branches/gcc-9-branch/gcc/testsuite/gfortran.dg/warn_unused_dummy_argument_5.f90
Modified:
branches/gcc-9-branch/gcc/fortran/ChangeLog
branches/gcc-9-branch/gcc/fortran/trans-decl.c
branches/gcc-9-branch/gcc/fortran/trans-types.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog