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

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

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

commit r13-6592-ge20e5d9dc11b64e8eabce6803c91cb5768207083
Author: Harald Anlauf <anl...@gmx.de>
Date:   Thu Mar 9 18:59:08 2023 +0100

    Fortran: fix ICE with bind(c) in block data [PR104332]

    gcc/fortran/ChangeLog:

            PR fortran/104332
            * resolve.cc (resolve_symbol): Avoid NULL pointer dereference while
            checking a symbol with the BIND(C) attribute.

    gcc/testsuite/ChangeLog:

            PR fortran/104332
            * gfortran.dg/bind_c_usage_34.f90: New test.

Reply via email to