This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/13875] [tree-ssa] missed jump thread optimization on the tree-level
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 May 2004 14:38:44 -0000
- Subject: [Bug tree-optimization/13875] [tree-ssa] missed jump thread optimization on the tree-level
- References: <20040127051055.13875.dann@godzilla.ics.uci.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-26 14:38 -------
(In reply to comment #19)
> The non-optimal code at
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13875#c14
> seems to be caused by the way the fron-end handles bools, specifically
> all bools are cast to int before being used in an "if" and the
> optimizers are not able to remove these casts.
> (see PR15017, comment #5)
And this problem should be fixed now with the improvement to forward propagation.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13875