This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++/6732: misaligned objects created by new


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]