[RFT/RFA] Fix AIX fallout from PR/19653 patch

Paolo Bonzini paolo.bonzini@gmail.com
Mon Apr 10 16:33:00 GMT 2006


> As I said, I don't believe the chunk of code that calls 
> create_TOC_reference should be using constant_pool_expr_1 at all.  It 
> should be checking explicitly for the patterns for which relocs can be 
> created, either a SYMBOL_REF or a SYMBOL_REF plus a constant.
Compared to what constant_pool_expr_p lets through, this only rules out 
toc-relative expressions.  Do you think the attached (untested) patch 
makes sense?

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-toc-bug.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060410/b1d1c4be/attachment.ksh>


More information about the Gcc-patches mailing list