Re: -malign-double vs __alignof__(double)

2005-07-21 Thread Richard Henderson
On Wed, Jul 20, 2005 at 06:26:03PM -0700, Dale Johannesen wrote: > alignof doc has so many qualifications I'm not sure exactly what it's > supposed to do. __alignof__(double) == 8 on x86, regardless of command line switches, because 8 is the *preferred* alignment of the type. That's the weasel w

-malign-double vs __alignof__(double)

2005-07-20 Thread Dale Johannesen
While fighting with the x86-darwin alignment rules, I noticed that -malign-double doesn't seem to affect __alignof__(double). This seems like a bug, but the alignof doc has so many qualifications I'm not sure exactly what it's supposed to do. Is this broken? Thanks.