Created attachment 47921 [details] Code triggering ICE Hi all! ICE regression probably introduced by the patch to PR92123 in: GNU Fortran (GCC) 10.0.1 20200224 (experimental) Best regards, José Rui
The master branch has been updated by Tobias Burnus <burnus@gcc.gnu.org>: https://gcc.gnu.org/g:62ede14d30f5d083f1ab23bcab6e0e3c9c649006 commit r10-7416-g62ede14d30f5d083f1ab23bcab6e0e3c9c649006 Author: Tobias Burnus <tobias@codesourcery.com> Date: Fri Mar 27 12:12:36 2020 +0100 [Fortran] Fix ICE with deferred-rank arrays (PR93957) PR fortran/93957 * trans-array.c (gfc_alloc_allocatable_for_assignment): Accept nonallocatable, nonpointer deferred-rank arrays. PR fortran/93957 * gfortran.dg/assumed_rank_19.f90: New.
FIXED on the trunk / GCC 10. Thanks for the report!