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 tree-optimization/102908] [12 Regression] go.test/test/fixedbugs/issue16095.go hangs again by r12-4598 Date: Mon, 25 Oct 2021 12:09:39 +0000 [thread overview] Message-ID: <bug-102908-4-c0uOkJpucF@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-102908-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102908 --- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>: https://gcc.gnu.org/g:7518e4c2f0758daac5d650d400565cf49ac3c8c5 commit r12-4661-g7518e4c2f0758daac5d650d400565cf49ac3c8c5 Author: Andrew Pinski <apinski@marvell.com> Date: Sat Oct 23 19:24:43 2021 +0000 Fix PR 102908: wrongly removing null pointer loads Just like PR 100382, here we have a DCE removing a null pointer load which is needed still. In this case, execute_fixup_cfg removes a store (correctly) and then removes the null load (incorrectly) due to not checking stmt_unremovable_because_of_non_call_eh_p. This patch adds the check in the similar way as the patch to fix PR 100382 did. gcc/ChangeLog: * tree-ssa-dce.c (simple_dce_from_worklist): Check stmt_unremovable_because_of_non_call_eh_p also before removing the statement.
next prev parent reply other threads:[~2021-10-25 12:09 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-23 12:59 [Bug go/102908] New: [12 Regression] go.test/test/fixedbugs/issue16095.go hangs again hjl.tools at gmail dot com 2021-10-23 19:10 ` [Bug go/102908] " pinskia at gcc dot gnu.org 2021-10-23 19:15 ` [Bug tree-optimization/102908] " pinskia at gcc dot gnu.org 2021-10-23 19:22 ` pinskia at gcc dot gnu.org 2021-10-24 9:28 ` [Bug tree-optimization/102908] [12 Regression] go.test/test/fixedbugs/issue16095.go hangs again by r12-4598 pinskia at gcc dot gnu.org 2021-10-25 12:09 ` cvs-commit at gcc dot gnu.org [this message] 2021-10-25 12:09 ` pinskia 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-102908-4-c0uOkJpucF@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).