[Bug fortran/110987] Segmentation fault after finalization of a temporary variable

2024-02-05 Thread jhaiduce at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110987 --- Comment #6 from John Haiducek --- I encountered what appears to be the same bug under slightly different conditions; I've attached the corresponding code (see attachment named "Additional test case"). In this code the crash occurs when final

[Bug fortran/110987] Segmentation fault after finalization of a temporary variable

2024-02-05 Thread jhaiduce at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110987 John Haiducek changed: What|Removed |Added CC||jhaiduce at gmail dot com --- Comment #

[Bug fortran/110987] Segmentation fault after finalization of a temporary variable

2024-02-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110987 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org,

[Bug fortran/110987] Segmentation fault after finalization of a temporary variable

2023-12-09 Thread chilikin.k at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110987 --- Comment #3 from Kirill Chilikin --- The derived type T3 has zero components but not zero length as it extends T1; the test does not crash after the following changes: diff --git a/gcc/fortran/trans.cc b/gcc/fortran/trans.cc index 961b0b5a57

[Bug fortran/110987] Segmentation fault after finalization of a temporary variable

2023-08-31 Thread chilikin.k at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110987 --- Comment #2 from Kirill Chilikin --- Some additional information: $ gfortran -g -o test test.f90 -fdump-tree-original $ cat test.f90.005t.original | head -n 747 | tail -n 26 { struct t3 zero.25; struct array00_t3 desc.26; struc

[Bug fortran/110987] Segmentation fault after finalization of a temporary variable

2023-08-11 Thread chilikin.k at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110987 --- Comment #1 from Kirill Chilikin --- Created attachment 55721 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55721&action=edit Objdump of the corresponding code