public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/98433] double free detected in tcache 2, after merge of structures
Date: Wed, 23 Dec 2020 22:43:11 +0000	[thread overview]
Message-ID: <bug-98433-4-uIYxJTzL3T@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-98433-4@http.gcc.gnu.org/bugzilla/>

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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org
           Priority|P3                          |P4

--- Comment #1 from kargl at gcc dot gnu.org ---

The issue goes away if you replace this line:

x3 = merge(x1, x2, .false.)

with the likely correct line

x3%v = merge(x1%v, x2%v, .false.)

  reply	other threads:[~2020-12-23 22:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-23 22:18 [Bug fortran/98433] New: " guez at lmd dot ens.fr
2020-12-23 22:43 ` kargl at gcc dot gnu.org [this message]
2020-12-23 23:29 ` [Bug fortran/98433] " guez at lmd dot ens.fr
2020-12-24  0:52 ` sgk at troutmask dot apl.washington.edu
2020-12-24  7:55 ` guez at lmd dot ens.fr
2020-12-24 12:01 ` anlauf at gcc dot gnu.org
2020-12-24 19:31 ` kargl at gcc dot gnu.org
2020-12-24 23:03 ` guez at lmd dot ens.fr
2023-07-23 19:12 ` anlauf 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-98433-4-uIYxJTzL3T@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).