public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/90068] Array Constructor Containing Function Call Leaks Memory
       [not found] <bug-90068-4@http.gcc.gnu.org/bugzilla/>
@ 2024-06-04 12:51 ` vehre at gcc dot gnu.org
  2024-06-05  9:47 ` 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-06-04 12:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90068

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/90068] Array Constructor Containing Function Call Leaks Memory
       [not found] <bug-90068-4@http.gcc.gnu.org/bugzilla/>
  2024-06-04 12:51 ` [Bug fortran/90068] Array Constructor Containing Function Call Leaks Memory vehre at gcc dot gnu.org
@ 2024-06-05  9:47 ` vehre at gcc dot gnu.org
  2024-06-05  9:48 ` 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-05  9:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90068

--- Comment #2 from Andre Vehreschild <vehre at gcc dot gnu.org> ---
Created attachment 58354
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58354&action=edit
Add final blocks to free temp. memory.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/90068] Array Constructor Containing Function Call Leaks Memory
       [not found] <bug-90068-4@http.gcc.gnu.org/bugzilla/>
  2024-06-04 12:51 ` [Bug fortran/90068] Array Constructor Containing Function Call Leaks Memory vehre at gcc dot gnu.org
  2024-06-05  9:47 ` vehre at gcc dot gnu.org
@ 2024-06-05  9:48 ` vehre at gcc dot gnu.org
  2024-06-07  8:54 ` cvs-commit at gcc dot gnu.org
  2024-06-07  8:58 ` vehre at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: vehre at gcc dot gnu.org @ 2024-06-05  9:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90068

Andre Vehreschild <vehre at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING

--- Comment #3 from Andre Vehreschild <vehre at gcc dot gnu.org> ---
Patch submitted, waiting for review.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/90068] Array Constructor Containing Function Call Leaks Memory
       [not found] <bug-90068-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2024-06-05  9:48 ` vehre at gcc dot gnu.org
@ 2024-06-07  8:54 ` cvs-commit at gcc dot gnu.org
  2024-06-07  8:58 ` 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:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90068

--- Comment #4 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:c3190756487080a11e819746f00b6e30fd0a0c2e

commit r15-1094-gc3190756487080a11e819746f00b6e30fd0a0c2e
Author: Andre Vehreschild <vehre@gcc.gnu.org>
Date:   Thu Jul 27 14:51:34 2023 +0200

    Add finalizer creation to array constructor for functions of derived type.

            PR fortran/90068

    gcc/fortran/ChangeLog:

            * trans-array.cc (gfc_trans_array_ctor_element): Eval non-
            variable expressions once only.
            (gfc_trans_array_constructor_value): Add statements of
            final block.
            (trans_array_constructor): Detect when final block is required.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/finalize_57.f90: New test.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/90068] Array Constructor Containing Function Call Leaks Memory
       [not found] <bug-90068-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2024-06-07  8:54 ` cvs-commit at gcc dot gnu.org
@ 2024-06-07  8:58 ` 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:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90068

Andre Vehreschild <vehre at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|WAITING                     |RESOLVED

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-07  8:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-90068-4@http.gcc.gnu.org/bugzilla/>
2024-06-04 12:51 ` [Bug fortran/90068] Array Constructor Containing Function Call Leaks Memory vehre at gcc dot gnu.org
2024-06-05  9:47 ` vehre at gcc dot gnu.org
2024-06-05  9:48 ` vehre at gcc dot gnu.org
2024-06-07  8:54 ` cvs-commit at gcc dot gnu.org
2024-06-07  8:58 ` 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).