------- Comment #26 from dominiq at lps dot ens dot fr 2010-07-26 21:00 ------- The patch in comment #25 fixes the ICE for PR 31867 comment 6, but causes also several regressions with "... must have an explicit interface" errors:
FAIL: gfortran.dg/allocatable_function_1.f90 (test for excess errors) FAIL: gfortran.dg/allocatable_function_3.f90 (test for excess errors) FAIL: gfortran.dg/char_result_3.f90 (test for excess errors) FAIL: gfortran.dg/char_result_4.f90 (test for excess errors) FAIL: gfortran.dg/f2c_6.f90 (test for excess errors) FAIL: gfortran.dg/import6.f90 (test for excess errors) FAIL: gfortran.dg/pointer_check_6.f90 (test for excess errors) FAIL: gfortran.dg/value_tests_f03.f90 (test for excess errors) FAIL: gfortran.fortran-torture/execute/entry_7.f90 compilation -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40873