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/108582] [12 Regression] ICE on valid code at -Os and above with "-fno-tree-ccp -fno-tree-dce": tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.cc:87 Date: Tue, 07 Feb 2023 20:21:53 +0000 [thread overview] Message-ID: <bug-108582-4-Ema94rTHst@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108582-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108582 --- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>: https://gcc.gnu.org/g:6f23c9077feebb29c2a28ffe89b287286df27d6d commit r12-9114-g6f23c9077feebb29c2a28ffe89b287286df27d6d Author: Andrew Pinski <apinski@marvell.com> Date: Sat Jan 28 18:27:08 2023 +0000 Fix PR 108582: ICE due to PHI-OPT removing a still in use ssa_name. This patch adds a check in match_simplify_replacement to make sure the middlebb does not have any phi-nodes as we don't currently move those. This was just a thinko from before. Committed on the GCC 12 branch after a bootstrap/test on x86_64-linux-gnu. PR tree-optimization/108582 gcc/ChangeLog: * tree-ssa-phiopt.cc (match_simplify_replacement): Add check for middlebb to have no phi nodes. gcc/testsuite/ChangeLog: * gcc.dg/pr108582-1.c: New test. (cherry picked from commit 876b3e0514bc8cb2256c44db56255403bedfa52d)
next prev parent reply other threads:[~2023-02-07 20:21 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-01-28 13:48 [Bug tree-optimization/108582] New: " zhendong.su at inf dot ethz.ch 2023-01-28 18:10 ` [Bug tree-optimization/108582] [13 Regression] " pinskia at gcc dot gnu.org 2023-01-28 18:12 ` pinskia at gcc dot gnu.org 2023-01-28 18:12 ` pinskia at gcc dot gnu.org 2023-01-28 18:17 ` pinskia at gcc dot gnu.org 2023-01-28 18:50 ` [Bug tree-optimization/108582] [12/13 " pinskia at gcc dot gnu.org 2023-01-28 22:25 ` pinskia at gcc dot gnu.org 2023-01-30 8:31 ` rguenth at gcc dot gnu.org 2023-01-30 12:46 ` cvs-commit at gcc dot gnu.org 2023-01-30 12:47 ` [Bug tree-optimization/108582] [12 " pinskia at gcc dot gnu.org 2023-02-07 20:21 ` cvs-commit at gcc dot gnu.org [this message] 2023-02-07 20:22 ` 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-108582-4-Ema94rTHst@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).