http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52370

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
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  <ja...@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

Reply via email to