diff options
author | Thomas König <tkoenig@gcc.gnu.org> | 2020-04-14 13:50:51 +0200 |
---|---|---|
committer | Thomas König <tkoenig@gcc.gnu.org> | 2020-04-14 13:50:51 +0200 |
commit | 3b0e49a52e1884b501861c128b0a98dec50bdd2e (patch) | |
tree | 726bb3c94000a64c680bc61898ddd4bdb1684122 /gcc/fortran/module.c | |
parent | a1ff717f59d5198140fa6e1ad814f3d63ccf9925 (diff) | |
download | gcc-3b0e49a52e1884b501861c128b0a98dec50bdd2e.zip gcc-3b0e49a52e1884b501861c128b0a98dec50bdd2e.tar.gz gcc-3b0e49a52e1884b501861c128b0a98dec50bdd2e.tar.bz2 |
Fix PR 94270 by not warning about artifical dummy arguments.
2020-04-14 Thomas Koenig <tkoenig@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 <tkoenig@gcc.gnu.org>
PR fortran/94270
* gfortran.dg/warn_unused_dummy_argument_6.f90: New test.
Diffstat (limited to 'gcc/fortran/module.c')
0 files changed, 0 insertions, 0 deletions