https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110626
--- Comment #13 from Paul Thomas <pault at gcc dot gnu.org> --- (In reply to Tomáš Trnka from comment #12) Hi Tomáš, Your test, very neatly illustrates the problems with gfortran. Comparing gfc with ifx and flang: pault@fedora:~/prs/pdt/test_suite$ ~/gfc/bin/gfortran ~/prs/junk.f90;./a.out non-allocatable finalize 42 finalize 42 assign 0 7 x 7 y 8 allocatable finalize 42 x 7 y 7 pault@fedora:~/prs/pdt/test_suite$ ifx ~/prs/junk.f90;./a.out non-allocatable finalize 42 finalize -1 assign 0 7 x 7 y 8 allocatable finalize 42 finalize 0 assign 0 7 x 7 y 8 pault@fedora:~/prs/pdt/test_suite$ flang ~/prs/junk.f90;./a.out non-allocatable finalize 42 finalize -1 assign 0 7 x 7 y 8 allocatable finalize 42 finalize 0 assign 0 7 x 7 y 8
