[Patch, fortran] (2/16) 82173 Parameterized derived type errors comment #10
Paul Richard Thomas
paul.richard.thomas@gmail.com
Thu Oct 8 12:32:28 GMT 2026
bug4-dealloc-scope-exit.f90 fails in runtime with:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7f2b83809803 in ???
#1 0x7f2b838083b5 in ???
#2 0x7f2b834dcfaf in ???
#3 0x40066f in n1
at /home/pault/prs/pdt_conformance/reducers/bug4-dealloc-scope-exit.f90:14
#4 0x4006c9 in main
at /home/pault/prs/pdt_conformance/reducers/bug4-dealloc-scope-exit.f90:14
Segmentation fault (core dumped) ./a.out
The patch is straightforward enough as not to need explanation.
Passes regtesting on FC44/x86_64. OK for mainline.
Cheers
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug4.patch
Type: text/x-patch
Size: 2507 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20261008/8dfdb107/attachment-0001.bin>
More information about the Gcc-patches
mailing list