optimization/9258: [3.2/3.3/3.4 regression] ICE in compensate_edge, at reg-stack.c:2589

Janis Johnson janis187@us.ibm.com
Tue Jan 14 18:45:00 GMT 2003

The regression show up with this patch:

Sat Jun 23 01:23:59 CEST 2001  Jan Hubicka  <jh@suse.cz>

      * flow.c (mark_set_1, attempt_auto_inc, mark_used_reg,
      try_pre_increment_1): compute REG_FREQ using bb->frequency.

      * regclass.c (loop_cost): Kill.
      (frequency): New global variable.
      (record_operand_costs): Replace loop_cost by frequency.
      (scan_one_insn): Likewise.
      (regclass): Likewise; set frequency according to bb->frequency.

      * flow.c (split_edge): Set frequency.


More information about the Gcc-bugs mailing list