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

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

https://gcc.gnu.org/g:37fdec3b7feca378693b3f12dbee422752176b24

commit r11-10844-g37fdec3b7feca378693b3f12dbee422752176b24
Author: Steve Kargl <ka...@gcc.gnu.org>
Date:   Fri Jun 2 19:44:11 2023 +0200

    Fortran: fix diagnostics for SELECT RANK [PR100607]

    gcc/fortran/ChangeLog:

            PR fortran/100607
            * resolve.c (resolve_select_rank): Remove duplicate error.
            (resolve_fl_var_and_proc): Prevent NULL pointer dereference and
            suppress error message for temporary.

    gcc/testsuite/ChangeLog:

            PR fortran/100607
            * gfortran.dg/select_rank_6.f90: New test.

    (cherry picked from commit fae09dfc0e6bf4cfe35d817558827aea78c6426f)

Reply via email to