------- Comment #1 from d dot g dot gorbachev at gmail dot com 2009-11-21 13:40 ------- This maybe related to r154291 (tree-optimize.c (execute_fixup_cfg): Rescale frequencies.) Counts are not rescaled for entry block and exit block. Then in counts_to_freqs(), their frequencies become very large. Then overflow into a negative number in EDGE_FREQUENCY() in find_many_sub_basic_blocks().
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42127