[Bug tree-optimization/15452] [tree-ssa] Optimize cascaded a = a == 0;

2014-10-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15452 Bug 15452 depends on bug 15459, which changed state. Bug 15459 Summary: [meta-bug] there should be a tree combiner like the rtl one https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15459 What|Removed |Added

[Bug tree-optimization/15452] [tree-ssa] Optimize cascaded a = a == 0;

2009-04-22 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2009-04-22 21:05 --- This has been fixed for a while now, at least since 4.4.0. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/15452] [tree-ssa] Optimize cascaded a = a == 0;

2006-08-24 Thread dberlin at dberlin dot org
--- Comment #7 from dberlin at gcc dot gnu dot org 2006-08-24 14:43 --- Subject: Re: [tree-ssa] Optimize cascaded a = a == 0; pinskia at gcc dot gnu dot org wrote: > --- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-24 04:27 > --- > Another interesting case would be

Re: [Bug tree-optimization/15452] [tree-ssa] Optimize cascaded a = a == 0;

2006-08-24 Thread Daniel Berlin
pinskia at gcc dot gnu dot org wrote: > --- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-24 04:27 > --- > Another interesting case would be (but which could be handled by VRP): > int > foo (int a) > { > a = a!=0; > a = a!=0; > a = a!=0; > a = a!=0; > a = a!=0; > retu

[Bug tree-optimization/15452] [tree-ssa] Optimize cascaded a = a == 0;

2006-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-24 04:27 --- Another interesting case would be (but which could be handled by VRP): int foo (int a) { a = a!=0; a = a!=0; a = a!=0; a = a!=0; a = a!=0; return a; } Which should be optimized to: int foo(int a) { return

[Bug tree-optimization/15452] [tree-ssa] Optimize cascaded a = a == 0;

2005-07-12 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 21:26 --- It might be a while for me to rewrite the tree combiner so unassigning for now. -- What|Removed |Added ---