Files
gcc-reflection/libgfortran
Harald Anlauf 39264acd7d 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.

(cherry picked from commit 1c613165a5)
2021-12-27 21:08:02 +01:00
..
2020-01-01 12:51:42 +01:00
2018-01-03 11:03:58 +01:00
2019-01-01 13:31:55 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00