------- Comment #3 from ubizjak at gmail dot com 2007-02-23 10:22 ------- There is something wrong in combine_predictions_for_insn(). Perhaps stack gets corrupted, but from the comment:
/* Use FP math to avoid overflows of 32bit integers. */ combined_probability variable is _sometimes_ calculated as nan. Tracing through asm, it looks that it happens because fildl from stack loads 0x00001388, pushed to stack earlier. BTW: For some reason gdb can't trace through this source, so it is really something strange going on. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30825