[Bug fortran/110288] [11/12/13/14] Regression: segfault in findloc with allocatable array of allocatable characters
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 11 20:26:48 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110288
--- 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:3b2c523ae31b68fc3b8363b458a55eec53a44365
commit r14-2439-g3b2c523ae31b68fc3b8363b458a55eec53a44365
Author: Harald Anlauf <anlauf@gmx.de>
Date: Tue Jul 11 21:21:25 2023 +0200
Fortran: formal symbol attributes for intrinsic procedures [PR110288]
gcc/fortran/ChangeLog:
PR fortran/110288
* symbol.cc (gfc_copy_formal_args_intr): When deriving the formal
argument attributes from the actual ones for intrinsic procedure
calls, take special care of CHARACTER arguments that we do not
wrongly treat them formally as deferred-length.
gcc/testsuite/ChangeLog:
PR fortran/110288
* gfortran.dg/findloc_10.f90: New test.
More information about the Gcc-bugs
mailing list