This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18576] missing jump threading because of type changes
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Nov 2004 17:11:50 -0000
- Subject: [Bug tree-optimization/18576] missing jump threading because of type changes
- References: <20041120062915.18576.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From steven at gcc dot gnu dot org 2004-11-20 17:11 -------
Situation in DOM3:
# BLOCK 4
# PRED: 3 [100.0%] (fallthru,exec) 2 [81.0%] (true,exec) 1 [50.0%]
(true,exec)
# iftmp.0_1 = PHI <0(2), 1(3), 0(1)>;
<L4>:;
D.1171_13 = (unsigned char) iftmp.0_1;
D.1160_14 = (int) D.1171_13;
D.1145_16 = (unsigned char) D.1160_14;
if (D.1145_16 != 0) goto <L8>; else goto <L7>;
# SUCC: 6 [33.0%] (true,exec) 5 [67.0%] (false,exec)
So this is almost certainly casts again getting in the way.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18576