This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Results from Intel4s C++ ABI Testsuite
- From: Richard Henderson <rth at redhat dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: Andreas Jaeger <aj at suse dot de>, gcc at gcc dot gnu dot org, "Goodman, Joe" <joe dot goodman at intel dot com>
- Date: Wed, 10 Jul 2002 08:44:24 -0700
- Subject: Re: Results from Intel4s C++ ABI Testsuite
- References: <u81yagsp9g.fsf@gromit.moeb> <3D2740E8.D9D3A105@codesourcery.com>
On Sat, Jul 06, 2002 at 08:11:36PM +0100, Nathan Sidwell wrote:
> I don't have a C std in front of me, but IIRC size_t
> is the first of 'unsigned int', 'unsigned long', 'unsigned long long'
> that can hold an object's size. So, on an ILP32 machine, it will be
> 'unsigned int' and operator new (size_t) will be _Znwj.
Nope. C standard only says it will be unsigned, nothing more.
About half of the ILP32 OSs use "unsigned int", and the other
half use "unsigned long". You can do nothing but agree with
whatever the person who wrote the system headers decided.
r~