Re: Harden rs6000 offsettable_ok_by_alignment

2011-03-06 Thread Alan Modra
On Sun, Mar 06, 2011 at 07:01:44PM -0500, David Edelsohn wrote: > Isn't this too conservative? Shouldn't CONSTANT_ALIGNMENT increase > the alignment of STRING_CST to word-aligned? Yes and yes. Thanks for the correction. I'll update the patch. > The only problem is structs? No, I don't think t

Re: Harden rs6000 offsettable_ok_by_alignment

2011-03-06 Thread David Edelsohn
Isn't this too conservative? Shouldn't CONSTANT_ALIGNMENT increase the alignment of STRING_CST to word-aligned? The only problem is structs? - David On Wed, Mar 2, 2011 at 2:34 AM, Alan Modra wrote: > Prior to a fix I committed recently on the gcc-4.5-ibm branch, we used > to fail with a linke