This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/38813] ICE with C_LOC(array)



------- Comment #4 from burnus at gcc dot gnu dot org  2009-01-14 21:26 -------
> @@ -2451 +2451 @@ gfc_conv_function_call (gfc_se * se, gfc
> -               && fsym->as->type != AS_ASSUMED_SHAPE;
> +               && fsym->as && fsym->as->type != AS_ASSUMED_SHAPE;

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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38813


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]