re PR fortran/55758 (LOGICAL and BIND(C): Reject kind=2/4/8/16 with -std=f2008, impro...
authorTobias Burnus <burnus@net-b.de>
Wed, 9 Jan 2013 16:20:33 +0000 (17:20 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 9 Jan 2013 16:20:33 +0000 (17:20 +0100)
commitd0841b5b27a0e5fcd15ca6361dcb19e9c659640a
tree8c9ed8d07dd16e0ee559cf714c7b5fc41bb2bb4d
parent870ca331280a56f4dc9499d0046594b9bd63e7c4
re PR fortran/55758 (LOGICAL and BIND(C): Reject kind=2/4/8/16 with -std=f2008, improve warning, switch to nonBOOLEAN_TYPE for those)

2013-01-09  Tobias Burnus  <burnus@net-b.de>

        PR fortran/55758
        * resolve.c (resolve_symbol): Reject non-C_Bool logicals
        in BIND(C) procedures with -std=f*.

2013-01-09  Tobias Burnus  <burnus@net-b.de>

        PR fortran/55758
        * gfortran.dg/bind_c_bool_1.f90: New.
        * gfortran.dg/do_5.f90: Add dg-warning.

From-SVN: r195055
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bind_c_bool_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/do_5.f90