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/26602] final_cleanup can mess up incoming frequencies



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-11 05:00 -------
Hmm, what is happening here is we fold the conditional and then update the
frequency for the next bb but not the ones after it which causes us to get the
warnings:
Invalid sum of incoming frequencies 2731, should be 2048

The numbers before the cleanup:
  # BLOCK 9 freq:719
  # BLOCK 3 freq:2156

After:
  # BLOCK 2 freq:2875


But:
  # BLOCK 6 freq:375
  # BLOCK 3 freq:2048


2875-375 == 2731 != 2048


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26602


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