[Bug tree-optimization/53979] ((a ^ b) | a) not optimized to (a | b)

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53979

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|--- |7.0
 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #5 from Andrew Pinski  ---
Fixed for GCC 7.

[Bug tree-optimization/53979] ((a ^ b) | a) not optimized to (a | b)

2020-06-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53979

Gabriel Ravier  changed:

   What|Removed |Added

 CC||gabravier at gmail dot com

--- Comment #4 from Gabriel Ravier  ---
I've just checked on trunk and it looks fixed

[Bug tree-optimization/53979] ((a ^ b) | a) not optimized to (a | b)

2018-11-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53979

Martin Liška  changed:

   What|Removed |Added

 CC||marxin at gcc dot gnu.org

--- Comment #3 from Martin Liška  ---
Can the bug be marked as resolved?

[Bug tree-optimization/53979] ((a ^ b) | a) not optimized to (a | b)

2016-10-20 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53979

--- Comment #2 from prathamesh3492 at gcc dot gnu.org ---
Author: prathamesh3492
Date: Thu Oct 20 07:55:28 2016
New Revision: 241360

URL: https://gcc.gnu.org/viewcvs?rev=241360&root=gcc&view=rev
Log:
2016-10-20  Prathamesh Kulkarni  

PR tree-optimization/53979
* match.pd ((a ^ b) | a -> a | b): New pattern.

testsuite/
* gcc.dg/pr53979-1.c: New test-case.
* gcc.dg/pr53979-2.c: Likewise.

Added:
trunk/gcc/testsuite/gcc.dg/pr53979-1.c
trunk/gcc/testsuite/gcc.dg/pr53979-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/match.pd
trunk/gcc/testsuite/ChangeLog

[Bug tree-optimization/53979] ((a ^ b) | a) not optimized to (a | b)

2016-08-14 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53979

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||missed-optimization
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-08-14
Summary|(a^b^b) not simplified to   |((a ^ b) | a) not optimized
   |(a)   (in combination with  |to (a | b)
   |CSE??)  |
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski  ---
Confirmed, f1 and f2 are the same now.  So the only thing left is 2 from
comment #0.