Skip to content
Snippets Groups Projects
Commit 818c36a8 authored by Harald Anlauf's avatar Harald Anlauf
Browse files

Fortran: fix initialization of allocatable non-deferred character [PR59252]

	PR fortran/59252

gcc/fortran/ChangeLog:

	* trans-expr.cc (gfc_trans_subcomponent_assign): Initialize
	allocatable non-deferred character with NULL properly.

gcc/testsuite/ChangeLog:

	* gfortran.dg/allocatable_char_1.f90: New test.
parent c9b8a8fc
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment