public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/114628] ICE with _BitInt returns_twice (and computed gotos) with  -g and optimization
Date: Tue, 09 Apr 2024 07:29:39 +0000	[thread overview]
Message-ID: <bug-114628-4-FFVQ2qNPOO@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-114628-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:7dd1f9d2ec422173f490d91b9173d4fa5d32d909

commit r14-9859-g7dd1f9d2ec422173f490d91b9173d4fa5d32d909
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Apr 9 09:28:27 2024 +0200

    bitint: Don't move debug stmts from before returns_twice calls [PR114628]

    Debug stmts are allowed by the verifier before the returns_twice calls.
    More importantly, they don't have a lhs, so the current handling of
    arg_stmts statements to force them on the edges ICEs.

    The following patch just keeps them where they were before.

    2024-04-09  Jakub Jelinek  <jakub@redhat.com>

            PR middle-end/114628
            * gimple-lower-bitint.cc (gimple_lower_bitint): Keep debug stmts
            before returns_twice calls as is, don't push them into arg_stmts
            vector/move to edges.

            * gcc.dg/bitint-105.c: New test.

  parent reply	other threads:[~2024-04-09  7:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-07 10:53 [Bug middle-end/114628] New: [14 Regression] ICE in gimple_check_failed at gimple.cc:1337 while compiling bitint-100.c pheeck at gcc dot gnu.org
2024-04-07 10:54 ` [Bug middle-end/114628] " pheeck at gcc dot gnu.org
2024-04-07 20:18 ` [Bug middle-end/114628] ICE with _BitInt with computed gotos with returns_twice and -g and optimization pinskia at gcc dot gnu.org
2024-04-08 14:11 ` [Bug middle-end/114628] ICE with _BitInt returns_twice (and computed gotos) with " jakub at gcc dot gnu.org
2024-04-08 14:13 ` jakub at gcc dot gnu.org
2024-04-09  7:29 ` cvs-commit at gcc dot gnu.org [this message]
2024-04-09  7:30 ` jakub 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-114628-4-FFVQ2qNPOO@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).