[Bug fortran/38813] ICE with C_LOC(array)
mikael at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jan 24 22:09:00 GMT 2009
------- Comment #5 from mikael at gcc dot gnu dot org 2009-01-24 22:09 -------
(In reply to comment #4)
> This might lead to wrong code (though I don't know what f77 means for C_LOC): I
> think that instead of fsym->as->type one needs to go through the refs to the
> component and do the check ...->as there.
>
What about setting f to true unconditionally?
As C_LOC shall return a C-usable pointer, gfc_conv_array_parameter shall return
a descriptorless array: we want to use the f77 calling convention anyway.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38813
More information about the Gcc-bugs
mailing list