[Bug tree-optimization/21829] [4.1 Regression] missed jump threading after unroller

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Sep 10 05:56:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list