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

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-24 
09:53:30 UTC ---
Author: rguenth
Date: Thu Feb 24 09:53:26 2011
New Revision: 170463

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170463
Log:
2011-02-24  Richard Guenther  <rguent...@suse.de>

    PR fortran/47839
    * f95-lang.c (pushdecl): For externs in non-global scope push
    a copy of the decl into the BLOCK.

    * gfortran.dg/lto/pr47839_0.f90: New testcase.
    * gfortran.dg/lto/pr47839_1.f90: Likewise.

Added:
    trunk/gcc/testsuite/gfortran.dg/lto/pr47839_0.f90
    trunk/gcc/testsuite/gfortran.dg/lto/pr47839_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/f95-lang.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to