This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21829] [4.1 Regression] missed jump threading after unroller
- 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: 10 Sep 2005 05:56:39 -0000
- Subject: [Bug tree-optimization/21829] [4.1 Regression] missed jump threading after unroller
- References: <20050530190613.21829.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-10 05:56 -------
We now get:
<bb 0>:
if (v_8 < 0) goto <L1>; else goto <L14>;
Invalid sum of incoming frequencies 2500, should be 1775
<L14>:;
if (v_8 <= 0) goto <L1>; else goto <L3>;
<L1>:;
Invalid sum of incoming frequencies 4275, should be 5000
# x_1 = PHI <0(1), 1(2)>;
<L3>:;
return x_1;
Which means jump threading is also messing up the frequencies :(.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21829