This is the mail archive of the gcc@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]
Other format: [Raw text]

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


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



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