https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107872

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Harald Anlauf
<anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:7a9741d7322357c4e777450891e43db27e067817

commit r12-8991-g7a9741d7322357c4e777450891e43db27e067817
Author: Paul Thomas <pa...@gcc.gnu.org>
Date:   Fri Dec 9 22:13:45 2022 +0100

    Fortran: ICE on recursive derived types with allocatable components
[PR107872]

    gcc/fortran/ChangeLog:

            PR fortran/107872
            * resolve.cc (derived_inaccessible): Skip over allocatable
components
            to prevent an infinite loop.

    gcc/testsuite/ChangeLog:

            PR fortran/107872
            * gfortran.dg/pr107872.f90: New test.

    (cherry picked from commit 01254aa2eb766c7584fd047568d7277d4d65d067)

Reply via email to