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

--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andre Vehreschild <ve...@gcc.gnu.org>:

https://gcc.gnu.org/g:bb2324769c5a03e275de00416659e624c97f1442

commit r15-2910-gbb2324769c5a03e275de00416659e624c97f1442
Author: Andre Vehreschild <ve...@gcc.gnu.org>
Date:   Fri Aug 9 16:19:23 2024 +0200

    Fix ICE in build_function_decl [PR116292]

    Fix ICE by getting the vtype only when a derived or class type is
    prevent.  Also take care about the _len component for unlimited
    polymorphics.

    gcc/fortran/ChangeLog:

            PR fortran/116292

            * trans-intrinsic.cc (conv_intrinsic_move_alloc): Get the vtab
            only for derived types and classes and adjust _len for class
            types.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/move_alloc_19.f90: New test.

Reply via email to