This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to fix powerpc-ibm-aix4.3.3.0 bootstrap


On Sat, Oct 06, 2001 at 10:06:49AM -0400, John Wehle wrote:
> 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.

Err.. note that ggc_strdup doesn't act like strdup, despite
the name.  It will canonicalize the string via the stringpool.

That said, it is sorta pointless to strdup toc_label_name,
since it is nicely canonical already.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]