Hi!
Thanks to Jan Hubicka an issue with compile time blowout came up. Over
80% of insn-attrtab.c compile time is spent in haifa-sched.c: check_cfg
() function which does sanity check of the whole CFG. There are three
callers of check_cfg () at the moment: sched_init (), schedule_block ()
and sched_finish (). While calls from sched_{init, finish} () are done
once per function the call from schedule_block () is invoked for every
single basic block. Leaving only two of the three calls - sched_{init,
finish} () - will pretty much solve the problem. Please find the patch
attached.
OK for trunk and gcc-4_2-branch?
:ADDPATCH scheduler: