Patch to fix powerpc-ibm-aix4.3.3.0 bootstrap

mike stump mrs@windriver.com
Sat Oct 6 10:43:00 GMT 2001


> Date: Sat, 6 Oct 2001 10:06:49 -0400 (EDT)
> From: John Wehle <john@feith.com>
> To: gcc-patches@gcc.gnu.org
> Cc: mrs@windriver.com, dje@watson.ibm.com

> hash_rtx assumes that identical symbols have the same hash
> which is unfortunately not true on the rs6000 due to the
> backend's use of ggc_strdup.  This results in reload_cse_regs_1
> producing varying results depending on how the toc label symbol
> reference hash (which depends on its address) works out.

Yup, that sounds like the type of problem I expected.  However, would
be nice to document in bold letters somewhere that things like strdup
cannot be used on label names, ever.  Or, that if someone wants to,
they must fix reload_cse_regs_1 to use something more interesting than
the address.  That, or we should fix reload_cse_regs_1 to not care
about addresses.



More information about the Gcc-patches mailing list