This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/77260] bogus warning with ENTRY in a function


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77260

--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Sep 29 19:34:59 2016
New Revision: 240635

URL: https://gcc.gnu.org/viewcvs?rev=240635&root=gcc&view=rev
Log:
2016-09-29  Steven G. Kargl  <kargl@gcc.gnu.org>

        Backport from trunk
        PR fortran/71067
        * decl.c (match_data_constant): On error, set 'result' to NULL.

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

2016-09-29  Steven G. Kargl  <kargl@gcc.gnu.org>

        Backport from trunk
        PR fortran/71067
        * gfortran.dg/pr71067_1.f90: New test.
        * gfortran.dg/pr71067_2.f90: Ditto.

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

Added:
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr71067_1.f90
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr71067_2.f90
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr77260_1.f90
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr77260_2.f90
Modified:
    branches/gcc-5-branch/gcc/fortran/ChangeLog
    branches/gcc-5-branch/gcc/fortran/decl.c
    branches/gcc-5-branch/gcc/fortran/trans-decl.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]