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