copyprop_hardreg_forward bootstrap failure

David Edelsohn dje@watson.ibm.com
Thu Dec 13 14:40:00 GMT 2001


2001-12-12  Richard Henderson  <rth@redhat.com>

        * regrename.c (copyprop_hardreg_forward): New optimization.
        (kill_value_regno, kill_value, init_value_data, kill_clobbered_value,
        kill_set_value, kill_autoinc_value, copy_value, find_oldest_value_reg,
        replace_oldest_value_reg, replace_oldest_value_addr,
        replace_oldest_value_mem, copyprop_hardreg_forward_1,
        debug_value_data, validate_value_data): New.
        * rtl.h (copyprop_hardreg_forward): Declare.
        * toplev.c (flag_cprop_registers): New.
        (f_options): Add -fcprop-registers
        (rest_of_compilation): Invoke it.
        (parse_options_and_default_flags): Set it at -O1.
        * doc/invoke.texi: Document it.

This patch breaks bootstrap on AIX.  I suspect because of the hardreg
relationship that this is another case of a HARD_REGNO_NREGS problem.

David



More information about the Gcc mailing list