This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]