aboutsummaryrefslogtreecommitdiff
path: root/gcc/hosthooks-def.h
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2021-12-13 20:50:19 +0100
committerHarald Anlauf <anlauf@gmx.de>2021-12-14 16:56:50 +0100
commit1c613165a55b212c59a83796b20a1d555e096504 (patch)
treeba8584c09200fc8eb9c7fa31566987e6e3a62264 /gcc/hosthooks-def.h
parent3305135c29e1c3e988bd9bad40aefc01d138aaca (diff)
downloadgcc-1c613165a55b212c59a83796b20a1d555e096504.zip
gcc-1c613165a55b212c59a83796b20a1d555e096504.tar.gz
gcc-1c613165a55b212c59a83796b20a1d555e096504.tar.bz2
Fortran: PACK intrinsic should not try to read from zero-sized array
libgfortran/ChangeLog: PR libfortran/103634 * intrinsics/pack_generic.c (pack_internal): Handle case when the array argument of PACK has one or more extents of size zero to avoid invalid reads. gcc/testsuite/ChangeLog: PR libfortran/103634 * gfortran.dg/intrinsic_pack_6.f90: New test.
Diffstat (limited to 'gcc/hosthooks-def.h')
0 files changed, 0 insertions, 0 deletions