[Bug libfortran/48958] Add runtime diagnostics for SIZE intrinsic function

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 16 21:01:20 GMT 2020


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

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

https://gcc.gnu.org/g:0c81ccc3d87098b93b0e6a2dd76815e4d6e78ff0

commit r11-5064-g0c81ccc3d87098b93b0e6a2dd76815e4d6e78ff0
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Mon Nov 16 22:00:58 2020 +0100

    PR fortran/48958 - Add runtime diagnostics for SIZE intrinsic function

    Add code for runtime checking of status of ALLOCATABLE and POINTER
    arguments to the SIZE intrinsic when -fcheck=pointer is specified.

    gcc/fortran/ChangeLog:

            * trans-intrinsic.c (gfc_conv_intrinsic_size): Generate runtime
            checking code for status of argument.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/pr48958.f90: New test.


More information about the Gcc-bugs mailing list