This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/6732: misaligned objects created by new
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: bkoz at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, wesslen at users dot sourceforge dot net, gcc-gnats at gcc dot gnu dot org
- Date: 03 Aug 2002 22:39:07 +0200
- Subject: Re: libstdc++/6732: misaligned objects created by new
- Organization: CodeSourcery, LLC
- References: <20020803202701.29922.qmail@sources.redhat.com>
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