This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix g++.eh/badalloc.C failure
Richard Henderson wrote:
> On Tue, Dec 18, 2001 at 09:59:15AM +0000, Nathan Sidwell wrote:
> > These '4's are an attempt at padding the allocation to some large alignment.
> I see. In which case, this alternate uses 'aligned' to grab
> ! size = (size + __alignof__(object) + 1) & - __alignof__(object);
- 1 ?
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
email@example.com : http://www.cs.bris.ac.uk/~nathan/ : firstname.lastname@example.org