[Patch, Fortran] PR50269 - C_LOC fixes
Mikael Morin
mikael.morin@sfr.fr
Sat Aug 18 09:49:00 GMT 2012
Hello,
On 17/08/2012 16:25, Tobias Burnus wrote:
> *ping* and some background.
>
The patch is OK in the sense that it improves things.
More comments below.
> On 08/15/2012 12:09 AM, Tobias Burnus wrote:
> * C_LOC is no longer rejecting assumed-rank arrays. (interface.c; an
> oversight).
>
I find it odd to accept assumed rank arrays, but reject assumed and
deferred shape. I know that C_LOC has accumulated a number of problems
and I agree with:
> While the other issues should be fixed as well, I think a proper patch
> (with -std=f2003, -std=f2008, -std=f2008ts diagnostic) and fixing some
> contiguity checks is quite some effort. Thus, I'd prefer to start with
> this simple patch and defer the rest to a later point.
>
However, I suggest changing the assumed/deferred rejection gfc_error to
a gfc_notify_std for now if you don't plan to work on the grand proper
fix soon.
Thanks.
Mikael
More information about the Fortran
mailing list