[Bug fortran/38536] ICE with C_LOC in resolve.c due to not properly going through expr->ref

mikael at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Dec 26 22:55:00 GMT 2008



------- Comment #1 from mikael at gcc dot gnu dot org  2008-12-26 22:54 -------
About the second error:

See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33497#c3

in resolve.c: 
 2095   else if (parent_ref != NULL && parent_ref->type != REF_COMPONENT)
 2096     gfc_internal_error ("Unexpected expression reference type in "
 2097                         "gfc_iso_c_func_interface");

we expect either a terminating component ref, or a component ref followed by a
terminating array or substring ref. 


-- 


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



More information about the Gcc-bugs mailing list