------- Comment #4 from dominiq at lps dot ens dot fr 2010-08-06 21:34 ------- I am not to sure about the patch in comment #2 because the case should probably be handled by gfc_is_same_range and the patch does it in gfc_check_section_vs_section. Note that gfc_is_same_range has a line
/* TODO: More sophisticated range comparison. */ In my opinion the right way to fix this pr would be to compare the starts and the extends, but so far I did not find how to do it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44235