diff options
| author | Paul Thomas <pault@gcc.gnu.org> | 2025-08-31 16:47:18 +0100 | 
|---|---|---|
| committer | Paul Thomas <pault@gcc.gnu.org> | 2025-08-31 16:47:18 +0100 | 
| commit | d21f10259f64723f8deae3bccc15128075de4851 (patch) | |
| tree | cbf1be2b4e870b357d5ce44be4acb21abff19657 /libcpp/errors.c | |
| parent | 095700c4cc6dece45f45ae7285b6523170f08953 (diff) | |
| download | gcc-d21f10259f64723f8deae3bccc15128075de4851.zip gcc-d21f10259f64723f8deae3bccc15128075de4851.tar.gz gcc-d21f10259f64723f8deae3bccc15128075de4851.tar.bz2 | |
Fortran: Pass PDTs to dummies with VALUE attribute [PR99709]
2025-08-31  Paul Thomas  <pault@gcc.gnu.org>
gcc/fortran
	PR fortran/99709
	* trans-array.cc (structure_alloc_comps): For the case
	COPY_ALLOC_COMP, do a deep copy of non-allocatable PDT arrays
	Suppress the use of 'duplicate_allocatable' for PDT arrays.
	* trans-expr.cc (conv_dummy_value): When passing to a PDT dummy
	with the VALUE attribute, do a deep copy to ensure that
	parameterized components are reallocated.
gcc/testsuite/
	PR fortran/99709
	* gfortran.dg/pdt_41.f03: New test.
Diffstat (limited to 'libcpp/errors.c')
0 files changed, 0 insertions, 0 deletions
