This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r208367 - in /branches/gcc-4_8-branch/gcc: fort...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 06 Mar 2014 08:00:49 -0000
- Subject: r208367 - in /branches/gcc-4_8-branch/gcc: fort...
Author: jakub
Date: Thu Mar 6 08:00:49 2014
New Revision: 208367
URL: http://gcc.gnu.org/viewcvs?rev=208367&root=gcc&view=rev
Log:
Backport from mainline
2014-02-11 Jakub Jelinek <jakub@redhat.com>
PR fortran/52370
* trans-decl.c (gfc_build_dummy_array_decl): Set TREE_NO_WARNING
on decl if sym->attr.optional.
* gfortran.dg/pr52370.f90: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/pr52370.f90
Modified:
branches/gcc-4_8-branch/gcc/fortran/ChangeLog
branches/gcc-4_8-branch/gcc/fortran/trans-decl.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog