public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/90072] Polymorphic Dispatch to Polymophic Return Type Memory Leak [not found] <bug-90072-4@http.gcc.gnu.org/bugzilla/> @ 2024-05-28 12:19 ` vehre at gcc dot gnu.org 2024-06-04 10:25 ` vehre at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 5+ messages in thread From: vehre at gcc dot gnu.org @ 2024-05-28 12:19 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90072 Andre Vehreschild <vehre at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |vehre at gcc dot gnu.org ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/90072] Polymorphic Dispatch to Polymophic Return Type Memory Leak [not found] <bug-90072-4@http.gcc.gnu.org/bugzilla/> 2024-05-28 12:19 ` [Bug fortran/90072] Polymorphic Dispatch to Polymophic Return Type Memory Leak vehre at gcc dot gnu.org @ 2024-06-04 10:25 ` vehre at gcc dot gnu.org 2024-06-04 10:26 ` vehre at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 5+ messages in thread From: vehre at gcc dot gnu.org @ 2024-06-04 10:25 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90072 --- Comment #2 from Andre Vehreschild <vehre at gcc dot gnu.org> --- Created attachment 58343 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58343&action=edit Fix memory leak. Patch submitted. Waiting for review. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/90072] Polymorphic Dispatch to Polymophic Return Type Memory Leak [not found] <bug-90072-4@http.gcc.gnu.org/bugzilla/> 2024-05-28 12:19 ` [Bug fortran/90072] Polymorphic Dispatch to Polymophic Return Type Memory Leak vehre at gcc dot gnu.org 2024-06-04 10:25 ` vehre at gcc dot gnu.org @ 2024-06-04 10:26 ` vehre at gcc dot gnu.org 2024-06-07 8:10 ` cvs-commit at gcc dot gnu.org 2024-06-07 8:53 ` vehre at gcc dot gnu.org 4 siblings, 0 replies; 5+ messages in thread From: vehre at gcc dot gnu.org @ 2024-06-04 10:26 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90072 Andre Vehreschild <vehre at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |WAITING ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/90072] Polymorphic Dispatch to Polymophic Return Type Memory Leak [not found] <bug-90072-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2024-06-04 10:26 ` vehre at gcc dot gnu.org @ 2024-06-07 8:10 ` cvs-commit at gcc dot gnu.org 2024-06-07 8:53 ` vehre at gcc dot gnu.org 4 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2024-06-07 8:10 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90072 --- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andre Vehreschild <vehre@gcc.gnu.org>: https://gcc.gnu.org/g:51046e46ae66ca95bf2b93ae60f0c4d6b338f8af commit r15-1090-g51046e46ae66ca95bf2b93ae60f0c4d6b338f8af Author: Andre Vehreschild <vehre@gcc.gnu.org> Date: Wed Jul 19 11:57:43 2023 +0200 Fix returned type to be allocatable for user-functions. The returned type of user-defined function returning a class object was not detected and handled correctly, which lead to memory leaks. PR fortran/90072 gcc/fortran/ChangeLog: * expr.cc (gfc_is_alloc_class_scalar_function): Detect allocatable class return types also for user-defined functions. * trans-expr.cc (gfc_conv_procedure_call): Same. (trans_class_vptr_len_assignment): Compute vptr len assignment correctly for user-defined functions. gcc/testsuite/ChangeLog: * gfortran.dg/class_77.f90: New test. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/90072] Polymorphic Dispatch to Polymophic Return Type Memory Leak [not found] <bug-90072-4@http.gcc.gnu.org/bugzilla/> ` (3 preceding siblings ...) 2024-06-07 8:10 ` cvs-commit at gcc dot gnu.org @ 2024-06-07 8:53 ` vehre at gcc dot gnu.org 4 siblings, 0 replies; 5+ messages in thread From: vehre at gcc dot gnu.org @ 2024-06-07 8:53 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90072 Andre Vehreschild <vehre at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |FIXED ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-06-07 8:53 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-90072-4@http.gcc.gnu.org/bugzilla/> 2024-05-28 12:19 ` [Bug fortran/90072] Polymorphic Dispatch to Polymophic Return Type Memory Leak vehre at gcc dot gnu.org 2024-06-04 10:25 ` vehre at gcc dot gnu.org 2024-06-04 10:26 ` vehre at gcc dot gnu.org 2024-06-07 8:10 ` cvs-commit at gcc dot gnu.org 2024-06-07 8:53 ` vehre at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).