Re: [Patch, Fortran] PR50269 - Add some checking fixes for C_LOC

2013-04-03 Thread Mikael Morin
Le 02/04/2013 18:26, Tobias Burnus a écrit : diff --git a/gcc/fortran/check.c b/gcc/fortran/check.c index 99174bc..b0c831e 100644 --- a/gcc/fortran/check.c +++ b/gcc/fortran/check.c @@ -3649,11 +3649,12 @@ gfc_check_sizeof (gfc_expr *arg) /* Check whether an expression is interoperable.

[Patch, Fortran] PR50269 - Add some checking fixes for C_LOC

2013-04-02 Thread Tobias Burnus
This patch updates the C_LOC checking fixes for array. In particular: Fortran 2003 allows: (1) have interoperable type and type parameters and be (a) a variable that has the TARGET attribute and is interoperable, (b) an allocated allocatable variable that has the TARGET attribute and