re PR testsuite/56082 (FAIL: gfortran.dg/bind_c_bool_1.f90 -O (test for errors, line 18) on powerpc-apple-darwin9 with -m32)

2013-02-12  Dominique d'Humieres  <dominiq@lps.ens.fr>
            Tobias Burnus  <burnus@net-b.de>

        PR fortran/56082
        * gfortran.dg/bind_c_bool_1.f90 (sub): Change kind=4
        to kind=2 as 32bit Darwin has C_Bool == 4.


Co-Authored-By: Tobias Burnus <burnus@net-b.de>

From-SVN: r195984
This commit is contained in:
Dominique d'Humieres 2013-02-12 17:22:13 +01:00 committed by Tobias Burnus
parent 3331275a42
commit 18a7895438
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2013-02-12 Dominique d'Humieres <dominiq@lps.ens.fr>
Tobias Burnus <burnus@net-b.de>
PR fortran/56082
* gfortran.dg/bind_c_bool_1.f90 (sub): Change kind=4
to kind=2.
2013-02-12 Richard Biener <rguenther@suse.de>
PR lto/56297

View File

@ -16,7 +16,7 @@ end function sub4
subroutine sub(x) bind(C) ! { dg-error "GNU Extension: LOGICAL dummy argument 'x' at .1. with non-C_Bool kind in BIND.C. procedure 'sub'" }
logical(kind=4) :: x
logical(kind=2) :: x
end subroutine sub
subroutine sub3(y) bind(C)