------- Comment #8 from burnus at gcc dot gnu dot org 2007-06-22 20:04 ------- > One probably should fix gfc_match_rvalue rather than using simply expr = NULL > in check_host_association.
At least setting result = NULL at the top of gfc_match_rvalue is wrong. (I don't know whether a single test case passes afterwards.) I think I stick to gfc_expr *expr = NULL; in check_host_association. The ICE fails for old_sym->name == "size", i.e. for the intrinsic function SIZE. While "old_sym != sym", they are both in the (old_)sym->module "(intrinsic)". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32464