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

--- Comment #4 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:16e95050f71e9fa408e9bd8ccd415b0e7adc66e5

commit r12-5480-g16e95050f71e9fa408e9bd8ccd415b0e7adc66e5
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Nov 23 21:39:36 2021 +0100

    Fortran: do not attempt simplification of [LU]BOUND for pointer/allocatable

    gcc/fortran/ChangeLog:

            PR fortran/103392
            * simplify.c (simplify_bound): Do not try to simplify
            LBOUND/UBOUND for arrays with POINTER or ALLOCATABLE attribute.

    gcc/testsuite/ChangeLog:

            PR fortran/103392
            * gfortran.dg/bound_simplification_7.f90: New test.

Reply via email to