https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91557

--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
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  <tkoe...@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  <tkoe...@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

Reply via email to