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

--- Comment #2 from GCC 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:d4974fd22730014e337fd7ec2471945ba8afb00e

commit r15-385-gd4974fd22730014e337fd7ec2471945ba8afb00e
Author: Harald Anlauf <anl...@gmx.de>
Date:   Fri May 10 21:18:03 2024 +0200

    Fortran: fix dependency checks for inquiry refs [PR115039]

    gcc/fortran/ChangeLog:

            PR fortran/115039
            * expr.cc (gfc_traverse_expr): An inquiry ref does not constitute
            a dependency and cannot collide with a symbol.

    gcc/testsuite/ChangeLog:

            PR fortran/115039
            * gfortran.dg/statement_function_5.f90: New test.

Reply via email to