https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103287
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Sandra Loosemore <[email protected]>: https://gcc.gnu.org/g:8e2771069ed0c157cca825d6af5792e94c4407c1 commit r12-6322-g8e2771069ed0c157cca825d6af5792e94c4407c1 Author: Sandra Loosemore <[email protected]> Date: Wed Jan 5 13:18:10 2022 -0800 Fortran: Fix ICE in argument_rank_mismatch [PR103287] This patch removes an incorrect assertion. A user-friendly error for this case is already given elsewhere. 2022-01-05 Steve Kargl <[email protected]> Sandra Loosemore <[email protected]> PR fortran/103287 gcc/fortran/ * interface.c (argument_rank_mismatch): Replace incorrect assertion with return. gcc/testsuite/ * gfortran.dg/c-interop/pr103287-1.f90: new. * gfortran.dg/c-interop/pr103287-2.f90: new.
