[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/100814] New: Fortran memory error on assignment from polymorphic variable

2021-05-28 Thread jhaiduce at gmail dot com via Gcc-bugs
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jhaiduce at gmail dot com Target Milestone: --- The following code produces a memory error when compiled with recent versions of gfortran: ``` module distributed_array implicit

[Bug fortran/100743] New: Segmentation fault passing a polymorphic as an optional argument

2021-05-24 Thread jhaiduce at gmail dot com via Gcc-bugs
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jhaiduce at gmail dot com Target Milestone: --- The following program crashes with a segmentation fault: ``` module my_exceptions implicit none type::error_container end

[Bug fortran/97024] Overriding finalization on polymorphic types triggers ICE error in generate_finalization_wrapper

2020-09-11 Thread jhaiduce at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97024 --- Comment #2 from John Haiducek --- For the sake of convenience (so there are links to click) the above-mentioned bugs were bug 92587 and bug 82996.

[Bug fortran/97024] Overriding finalization on polymorphic types triggers ICE error in generate_finalization_wrapper

2020-09-11 Thread jhaiduce at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97024 --- Comment #1 from John Haiducek --- This bug shows some similarity to 92587 and 82996, but I suspect they are distinct. 92587 had a much more complicated MWE and the OP was unable to reduce it to a single file. 82996 did not involve class polym

[Bug fortran/97024] New: Overriding finalization on polymorphic types triggers ICE error in generate_finalization_wrapper

2020-09-11 Thread jhaiduce at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jhaiduce at gmail dot com Target Milestone: --- Created attachment 49209 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49209&acti