libstdc++/6732: misaligned objects created by new

Gabriel Dos Reis gdr@integrable-solutions.net
Sat Aug 3 13:41:00 GMT 2002


bkoz@gcc.gnu.org writes:

| State-Changed-Why:
|     Supposedly, __sligned only works on up to 8 byte boundaries.
|     
|     See:
|     http://gcc.gnu.org/onlinedocs/gcc/Type-Attributes.html#Type%20Attributes

Thanks for the pointer.  Actually,  the largest alignment is the
linker's call.  It may be that on an IA-32, the linker can't support
alignment higher than 8.  I can't see the exact reference in the
binutils documentation.

-- Gaby



More information about the Gcc-bugs mailing list