diff options
author | Tobias Burnus <burnus@net-b.de> | 2011-05-06 20:12:25 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2011-05-06 20:12:25 +0200 |
commit | 2e8d9212daaa8c6162ab872485dd03d28c96ea4c (patch) | |
tree | 0b573a6cdfb20f51178b705ea9d49570cd795302 /gcc/fortran/libgfortran.h | |
parent | 80bde45b083facc3f141c29c8c71d38619b1d9cb (diff) | |
download | gcc-2e8d9212daaa8c6162ab872485dd03d28c96ea4c.zip gcc-2e8d9212daaa8c6162ab872485dd03d28c96ea4c.tar.gz gcc-2e8d9212daaa8c6162ab872485dd03d28c96ea4c.tar.bz2 |
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
Diffstat (limited to 'gcc/fortran/libgfortran.h')
-rw-r--r-- | gcc/fortran/libgfortran.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/libgfortran.h b/gcc/fortran/libgfortran.h index 09524d0..035a32a 100644 --- a/gcc/fortran/libgfortran.h +++ b/gcc/fortran/libgfortran.h @@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see Note that no features were obsoleted nor deleted in F2003. Please remember to keep those definitions in sync with gfortran.texi. */ +#define GFC_STD_F2008_TR (1<<9) /* POST-F2008 technical reports. */ #define GFC_STD_F2008_OBS (1<<8) /* Obsolescent in F2008. */ #define GFC_STD_F2008 (1<<7) /* New in F2008. */ #define GFC_STD_LEGACY (1<<6) /* Backward compatibility. */ |