re PR fortran/77260 (bogus warning with ENTRY in a function)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 22 Aug 2016 18:12:33 +0000 (18:12 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 22 Aug 2016 18:12:33 +0000 (18:12 +0000)
commitad7a5a8fc58e29b259f8a746899772627a493e9e
tree474a158e0e31e8b31f5a75d00d0dc15c07f708b5
parent72f52f3081af48ddddcb9e541c33fbbddfb4215d
re PR fortran/77260 (bogus warning with ENTRY in a function)

2016-08-22  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/77260
* gcc/fortran/trans-decl.c (generate_local_decl): Suppress warning
for unused variable if symbol is entry point.

2016-08-22  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/77260
* gfortran.dg/pr77260_1.f90: New test.
* gfortran.dg/pr77260_2.f90: Ditto.

From-SVN: r239666
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr77260_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr77260_2.f90 [new file with mode: 0644]