public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/108923] memory leak of get_intrinsic_dummy_arg result
Date: Fri, 24 Feb 2023 21:44:16 +0000	[thread overview]
Message-ID: <bug-108923-4-jiilx4ShHx@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-108923-4@http.gcc.gnu.org/bugzilla/>

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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gcc dot gnu.org

--- Comment #5 from anlauf at gcc dot gnu.org ---
At r13-6337-g24c9edfa73632276d7698c103f35833f29804d98 is still get for
testcase

  gcc/testsuite/gfortran.dg/predcom-1.f


==2885== 32 bytes in 2 blocks are definitely lost in loss record 8 of 354
==2885==    at 0x4C39571: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2885==    by 0x2077B44: xcalloc (xmalloc.c:164)
==2885==    by 0x90FE52: get_intrinsic_dummy_arg (intrinsic.cc:4265)
==2885==    by 0x90FE52: sort_actual(char const*, gfc_actual_arglist**,
gfc_intrinsic_arg*, locus*) (intrinsic.cc:4433)
==2885==    by 0x9100E8: check_specific(gfc_intrinsic_sym*, gfc_expr*, int)
(intrinsic.cc:4774)
==2885==    by 0x918D29: gfc_intrinsic_func_interface(gfc_expr*, int)
(intrinsic.cc:5032)
==2885==    by 0x97DB9D: resolve_generic_f0 (resolve.cc:2772)
==2885==    by 0x97DB9D: resolve_generic_f (resolve.cc:2789)
==2885==    by 0x97DB9D: resolve_function (resolve.cc:3347)
==2885==    by 0x97DB9D: gfc_resolve_expr(gfc_expr*) [clone .part.0]
(resolve.cc:7211)
==2885==    by 0x980B4F: gfc_resolve_expr (resolve.cc:7177)
==2885==    by 0x980B4F: resolve_operator(gfc_expr*) (resolve.cc:4092)
==2885==    by 0x97BC57: gfc_resolve_expr(gfc_expr*) [clone .part.0]
(resolve.cc:7204)
==2885==    by 0x985AF8: gfc_resolve_expr (resolve.cc:7177)
==2885==    by 0x985AF8: gfc_resolve_code(gfc_code*, gfc_namespace*)
(resolve.cc:12011)
==2885==    by 0x989425: gfc_resolve_blocks(gfc_code*, gfc_namespace*)
(resolve.cc:10996)
==2885==    by 0x985AAD: gfc_resolve_code(gfc_code*, gfc_namespace*)
(resolve.cc:11997)
==2885==    by 0x98921D: resolve_codes(gfc_namespace*) (resolve.cc:17670)

  parent reply	other threads:[~2023-02-24 21:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-24 12:28 [Bug fortran/108923] New: " rguenth at gcc dot gnu.org
2023-02-24 16:38 ` [Bug fortran/108923] " mikael at gcc dot gnu.org
2023-02-24 19:41 ` mikael at gcc dot gnu.org
2023-02-24 19:42 ` mikael at gcc dot gnu.org
2023-02-24 21:14 ` cvs-commit at gcc dot gnu.org
2023-02-24 21:44 ` anlauf at gcc dot gnu.org [this message]
2023-02-25 20:38 ` cvs-commit at gcc dot gnu.org
2023-03-03 14:03 ` rguenth at gcc dot gnu.org
2023-03-12 10:48 ` cvs-commit at gcc dot gnu.org
2023-03-12 10:48 ` cvs-commit at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-108923-4-jiilx4ShHx@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).