This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix some testsuite failures on x86-64
- From: Richard Henderson <rth at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 11 Nov 2003 09:23:19 -0800
- Subject: Re: Fix some testsuite failures on x86-64
- References: <u8ekwelxib.fsf@gromit.moeb>
On Tue, Nov 11, 2003 at 04:45:32PM +0100, Andreas Jaeger wrote:
> - ASSERT_NOT_NPC ((void *)(0, 0)); /* { dg-bogus "incompatible"
> + ASSERT_NOT_NPC ((void *)(0, 0L)); /* { dg-bogus "incompatible"
This will similarly fail for 16-bit targets with 32-bit long.
I suggests something like
#ifdef _LP64
#define ZERO 0L
#else
#defone ZERO 0
#endif
r~