>>> + switch (compval) >>> + { >> >> ... >>> >>> + default: >>> + gfc_internal_error ("check_dummy_characteristics: Unexpected >>> result " >>> + "%i of gfc_dep_compare_expr", compval); >>> + break; >>> + } >>> + } >> >> I think we really should move to enum. > > Agreed. However, I'm afraid this is not completely trivial. I'll open > a PR for it.
This is now PR50360. Cheers, Janus