[PATCH] rs6000: Disable generation of lwa in 32-bit mode

Segher Boessenkool segher@kernel.crashing.org
Sun Oct 28 05:51:00 GMT 2012


>> some (20040709-2.c, etc.) fail with a linker error now, instead of
>
> Hmm, packed structs.  If gcc is generating mis-aligned accesses using
> lwa or ld, that would be another TARGET_64BIT vs TARGET_POWERPC64
> bug, wouldn't it?

I have analysed it, patch on the way.  The problem is LO_SUMs of
misaligned symbols; we never get those in practice on 64-bit
because things go via the TOC, but the problem is there in theory
for 64-bit as well.


Segher



More information about the Gcc mailing list