Re: [PATCH] Fix PR49937

2011-08-10 Thread Richard Guenther
On Tue, 9 Aug 2011, Hans-Peter Nilsson wrote: > On Tue, 9 Aug 2011, Richard Guenther wrote: > > > > This fixes PR49937 - callers of get_{pointer,object}_alignment > > probably should not use BIGGEST_ALIGNMENT to limit what these > > functions return (why do they do that? Maybe because formerly >

Re: [PATCH] Fix PR49937

2011-08-09 Thread Hans-Peter Nilsson
On Tue, 9 Aug 2011, Richard Guenther wrote: > > This fixes PR49937 - callers of get_{pointer,object}_alignment > probably should not use BIGGEST_ALIGNMENT to limit what these > functions return (why do they do that? Maybe because formerly > the routines returned TYPE_ALIGN? But why wasn't that bo

[PATCH] Fix PR49937

2011-08-09 Thread Richard Guenther
This fixes PR49937 - callers of get_{pointer,object}_alignment probably should not use BIGGEST_ALIGNMENT to limit what these functions return (why do they do that? Maybe because formerly the routines returned TYPE_ALIGN? But why wasn't that bound by BIGGEST_ALIGNMENT?) - some targets define that