public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/15878] New: a & b & ~a & ~b not optimized at the tree level
@ 2004-06-08 18:36 pinskia at gcc dot gnu dot org
2004-06-20 20:38 ` [Bug tree-optimization/15878] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-08 18:36 UTC (permalink / raw)
To: gcc-bugs
>From looking at bugs which were fixed for 3.5.0 which were done on the RTL, I noticed this one (From
PR 5263).
int f(int a,int b) { return a&b~a&~b; }
--
Summary: a & b & ~a & ~b not optimized at the tree level
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: missed-optimization, TREE
Severity: enhancement
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15878
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/15878] a & b & ~a & ~b not optimized at the tree level
2004-06-08 18:36 [Bug tree-optimization/15878] New: a & b & ~a & ~b not optimized at the tree level pinskia at gcc dot gnu dot org
@ 2004-06-20 20:38 ` pinskia at gcc dot gnu dot org
2005-07-26 13:16 ` dberlin at gcc dot gnu dot org
2005-08-28 20:04 ` dberlin at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-20 20:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-20 20:38 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-06-20 20:38:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15878
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/15878] a & b & ~a & ~b not optimized at the tree level
2004-06-08 18:36 [Bug tree-optimization/15878] New: a & b & ~a & ~b not optimized at the tree level pinskia at gcc dot gnu dot org
2004-06-20 20:38 ` [Bug tree-optimization/15878] " pinskia at gcc dot gnu dot org
@ 2005-07-26 13:16 ` dberlin at gcc dot gnu dot org
2005-08-28 20:04 ` dberlin at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2005-07-26 13:16 UTC (permalink / raw)
To: gcc-bugs
--
Bug 15878 depends on bug 21445, which changed state.
Bug 21445 Summary: [meta-bug] we need a reassociate pass
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21445
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15878
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/15878] a & b & ~a & ~b not optimized at the tree level
2004-06-08 18:36 [Bug tree-optimization/15878] New: a & b & ~a & ~b not optimized at the tree level pinskia at gcc dot gnu dot org
2004-06-20 20:38 ` [Bug tree-optimization/15878] " pinskia at gcc dot gnu dot org
2005-07-26 13:16 ` dberlin at gcc dot gnu dot org
@ 2005-08-28 20:04 ` dberlin at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2005-08-28 20:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dberlin at gcc dot gnu dot org 2005-08-28 20:00 -------
I have a patch for this
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dberlin at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2005-05-01 16:29:30 |2005-08-28 20:00:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15878
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/15878] a & b & ~a & ~b not optimized at the tree level
[not found] <bug-15878-6528@http.gcc.gnu.org/bugzilla/>
@ 2005-12-13 4:19 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-13 4:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2005-12-13 04:18 -------
Fixed by:
2005-12-12 Jeff Law <law@redhat.com>
* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Remove
reassociation code.
* passes.c (init_optimization_passes): Run reassociation again
after loop optimizations.
2005-12-12 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-dom.c (thread_across_edge): Canonicalize condition
if necessary.
(optimize_stmt): Ditto.
(canonicalize_comparison): New function.
* tree-ssa-operands.c (swap_tree_operands): Make external.
(get_expr_operands): Stop auto-canonicalization.
* tree-ssa-reassoc.c: Rewrite.
(init_optimization_passes):
* tree-flow.h (swap_tree_operands): Prototype.
* Makefile.in (tree-ssa-reassoc.o): Update dependencies.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15878
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-12-13 4:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-08 18:36 [Bug tree-optimization/15878] New: a & b & ~a & ~b not optimized at the tree level pinskia at gcc dot gnu dot org
2004-06-20 20:38 ` [Bug tree-optimization/15878] " pinskia at gcc dot gnu dot org
2005-07-26 13:16 ` dberlin at gcc dot gnu dot org
2005-08-28 20:04 ` dberlin at gcc dot gnu dot org
[not found] <bug-15878-6528@http.gcc.gnu.org/bugzilla/>
2005-12-13 4:19 ` pinskia at gcc dot gnu dot org
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).