public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/113799] New: gfc_replace_expr: double free detected ? Date: Wed, 07 Feb 2024 09:47:21 +0000 [thread overview] Message-ID: <bug-113799-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113799 Bug ID: 113799 Summary: gfc_replace_expr: double free detected ? Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 57350 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57350&action=edit F90 source code For the attached F90 source code, I get this test $ ~/gcc/results/bin/gfortran -c ./Evaluate/folding20.f90 free(): double free detected in tcache 2 f951: internal compiler error: Aborted 0xf581f9 crash_signal(int) /home/dcb38/gcc/working/gcc/../../trunk.20210101/gcc/toplev.cc:317 0x7658aa gfc_replace_expr(gfc_expr*, gfc_expr*) /home/dcb38/gcc/working/gcc/../../trunk.20210101/gcc/fortran/expr.cc:640 0x7658aa simplify_intrinsic_op(gfc_expr*, int) /home/dcb38/gcc/working/gcc/../../trunk.20210101/gcc/fortran/expr.cc:1324 0x7658aa gfc_simplify_expr(gfc_expr*, int) /home/dcb38/gcc/working/gcc/../../trunk.20210101/gcc/fortran/expr.cc:2317 The source code is from the flang testsuite in clang. The bug has existed since sometime before 20240107.
next reply other threads:[~2024-02-07 9:47 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-02-07 9:47 dcb314 at hotmail dot com [this message] 2024-02-07 11:07 ` [Bug fortran/113799] " mikael at gcc dot gnu.org 2024-02-07 11:17 ` mikael at gcc dot gnu.org 2024-02-07 22:17 ` anlauf at gcc dot gnu.org 2024-02-07 22:36 ` anlauf at gcc dot gnu.org 2024-02-07 22:47 ` anlauf at gcc dot gnu.org 2024-02-08 18:53 ` anlauf at gcc dot gnu.org 2024-02-08 20:12 ` anlauf at gcc dot gnu.org 2024-02-08 21:05 ` anlauf at gcc dot gnu.org 2024-02-09 18:24 ` cvs-commit at gcc dot gnu.org 2024-04-02 17:07 ` cvs-commit at gcc dot gnu.org 2024-04-02 17:30 ` 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-113799-4@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: linkBe 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).