This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
copyprop_hardreg_forward bootstrap failure
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 13 Dec 2001 16:34:41 -0500
- Subject: copyprop_hardreg_forward bootstrap failure
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