[Bug fortran/121683] Data corruption with sourced allocation from constructor
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 18 04:36:54 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121683
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-01-18
CC| |jvdelisle at gcc dot gnu.org
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
With the reduced case in comment #3 Replacing the STOP 2 with print *, "oops",
x%array
$ gfc pr121683.f90
$ ./a.out
oops 254174 0
Clearly the x%array is not getting set.
Confirming
More information about the Gcc-bugs
mailing list