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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Mark Eggleston
<markeggles...@gcc.gnu.org>:

https://gcc.gnu.org/g:56dfd92cc3b43a97b7e50f7de6f417a87e43aaa9

commit r10-8346-g56dfd92cc3b43a97b7e50f7de6f417a87e43aaa9
Author: Mark Eggleston <markeggles...@gcc.gnu.org>
Date:   Mon Jun 22 13:35:01 2020 +0100

    Fortran  : ICE in resolve_fl_procedure PR95708

    Now issues an error "Intrinsic procedure 'num_images' not
    allowed in PROCEDURE" instead of an ICE.

    2020-06-22  Steven G. Kargl  <ka...@gcc.gnu.org>

    gcc/fortran/

            PR fortran/95708
            * intrinsic.c (add_functions): Replace CLASS_INQUIRY with
            CLASS_TRANSFORMATIONAL for intrinsic num_images.
            (make_generic): Replace ACTUAL_NO with ACTUAL_YES for
            intrinsic team_number.
            * resolve.c (resolve_fl_procedure): Check pointer ts.u.derived
            exists before using it.

    2020-06-22  Mark Eggleston  <markeggles...@gcc.gnu.org>

    gcc/testsuite/

            PR fortran/95708
            * gfortran.dg/pr95708.f90: New test.

    (cherry picked from commit 647340c92a042e8e6f7d004637f07060dbde49c0)

Reply via email to