[PATCH, committed] Fortran: fix uninitialized read in testcase gfortran.dg/pdt_48.f03

Harald Anlauf anlauf@gmx.de
Fri Sep 26 17:30:47 GMT 2025


Dear All,

the testcase accessed uninitialized memory as shown by valgrind.
The reason was a partial initialization of a vector.

I've pushed the attached fix as obvious as r16-4107-ge6b4908c040263 .

Thanks,
Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fortran-fix-uninitialized-read-in-testcase-gfortran..patch
Type: text/x-patch
Size: 1844 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20250926/ea8e4564/attachment-0001.bin>


More information about the Fortran mailing list