https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96320
--- Comment #15 from paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> --- Bother - I left the diagnostic line in the patch: + gfc_warning_now (0, "s1 %i s2 %i \n", s1->as->type, s2->as->type); Sorry about that Paul On Tue, 28 Jul 2020 at 10:24, dominiq at lps dot ens.fr < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96320 > > --- Comment #14 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > After fixing the ICEs by replacing > 's1->ns->proc_name->attr.module_procedure' > with 's1->ns->proc_name && s1->ns->proc_name->attr.module_procedure' I am > left > with two regressions: > > FAIL: gfortran.dg/proc_decl_26.f90 -O 2 blank line(s) in output > FAIL: gfortran.dg/proc_decl_26.f90 -O (test for excess errors) > FAIL: gfortran.dg/whole_file_23.f90 -O 1 blank line(s) in output > FAIL: gfortran.dg/whole_file_23.f90 -O (test for excess errors) > > % gfc /opt/gcc/work/gcc/testsuite/gfortran.dg/proc_decl_26.f90 > f951: Warning: s1 2 s2 1 > > /opt/gcc/work/gcc/testsuite/gfortran.dg/proc_decl_26.f90:20:11: > > 20 | call foo(two) ! { dg-error "Shape mismatch in argument" } > | 1 > Error: Interface mismatch in dummy procedure 'f1' at (1): Shape mismatch in > argument 'a' > f951: Warning: s1 2 s2 1 > > /opt/gcc/work/gcc/testsuite/gfortran.dg/proc_decl_26.f90:21:11: > > 21 | call bar(two) ! { dg-error "Shape mismatch in argument" } > | 1 > Error: Interface mismatch in dummy procedure 'f2' at (1): Shape mismatch in > argument 'a' > % gfc /opt/gcc/work/gcc/testsuite/gfortran.dg/whole_file_23.f90 > f951: Warning: s1 3 s2 2 > > /opt/gcc/work/gcc/testsuite/gfortran.dg/whole_file_23.f90:18:32: > > 18 | pure integer function lensum (words, sep) > | 1 > Warning: Interface mismatch in global procedure 'lensum' at (1): Shape > mismatch > in argument 'words' > > -- > You are receiving this mail because: > You are on the CC list for the bug. > You are the assignee for the bug.