[Patch, fortran] (3/16) 82173 Parameterized derived type errors comment #10
Paul Richard Thomas
paul.richard.thomas@gmail.com
Thu Oct 8 12:32:59 GMT 2026
bug5-lower-bound-double-free.f90 crashes at runtime with:
double free or corruption (out)
Program received signal SIGABRT: Process abort signal.
The first chunk of the patch is the actual fix. It ensures that the
array offset is correctly calculated by multiplying the lbound by the
accumulated 'size'.
The second chunk tidies up an overlong line, which was noted in passing.
Passes regtesting on FC44/x86_64. OK for mainline.
Cheers
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug5.patch
Type: text/x-patch
Size: 2948 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20261008/18e36490/attachment.bin>
More information about the Gcc-patches
mailing list