re PR fortran/48858 (Incorrect error for same binding label on two generic interface...
authorTobias Burnus <burnus@net-b.de>
Fri, 6 May 2011 18:12:25 +0000 (20:12 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 6 May 2011 18:12:25 +0000 (20:12 +0200)
commit2e8d9212daaa8c6162ab872485dd03d28c96ea4c
tree0b573a6cdfb20f51178b705ea9d49570cd795302
parent80bde45b083facc3f141c29c8c71d38619b1d9cb
re PR fortran/48858 (Incorrect error for same binding label on two generic interface specifics)

2011-05-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48858
        PR fortran/48820
        * lang.opt (std=f2008tr): New.
        * libgfortran.h (GFC_STD_F2008_TR): New macro constant.
        * decl.c (verify_c_interop_param): Allow OPTIONAL in BIND(C)
        procedures for -std=f2008tr/gnu/legacy.

2011-05-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48858
        PR fortran/48820
        * gfortran.dg/bind_c_usage_22.f90: New.
        * gfortran.dg/bind_c_usage_23.f90: New.
        * gfortran.dg/bind_c_usage_24.f90: New.
        * gfortran.dg/bind_c_usage_24_c.c: New.

From-SVN: r173500
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/libgfortran.h
gcc/fortran/options.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bind_c_usage_22.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/bind_c_usage_23.f90 [new file with mode: 0644]