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/106379] DCE depends on order Date: Thu, 21 Jul 2022 11:24:11 +0000 [thread overview] Message-ID: <bug-106379-4-0UXhrhWjui@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-106379-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106379 --- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>: https://gcc.gnu.org/g:375668e0508fbe173af1ed519d8ae2b79f388d94 commit r13-1779-g375668e0508fbe173af1ed519d8ae2b79f388d94 Author: Richard Biener <rguenther@suse.de> Date: Thu Jul 21 13:20:47 2022 +0200 tree-optimization/106379 - add missing ~(a ^ b) folding for _Bool The following makes sure to fold ~(a ^ b) to a == b for truth values (but not vectors, we'd have to check for vector support of equality). That turns the PR106379 testcase into a ranger one. Note that while we arrive at ~(a ^ b) in a convoluted way from original !a == !b one can eventually write the expression this way directly as well. PR tree-optimization/106379 * match.pd (~(a ^ b) -> a == b): New pattern. * gcc.dg/pr106379-1.c: New testcase.
next prev parent reply other threads:[~2022-07-21 11:24 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-21 9:13 [Bug c/106379] New: " tmayerl at student dot ethz.ch 2022-07-21 9:48 ` [Bug tree-optimization/106379] " rguenth at gcc dot gnu.org 2022-07-21 11:23 ` rguenth at gcc dot gnu.org 2022-07-21 11:24 ` cvs-commit at gcc dot gnu.org [this message] 2022-08-08 20:36 ` amacleod at redhat dot com 2023-05-18 17:26 ` pinskia at gcc dot gnu.org 2023-07-13 18:39 ` pinskia at gcc dot gnu.org 2023-09-17 5:46 ` 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-106379-4-0UXhrhWjui@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).