This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 64bit cleanup in flow.c
- To: Brad Lucier <lucier at math dot purdue dot edu>
- Subject: Re: 64bit cleanup in flow.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 09 Dec 1999 00:30:26 -0700
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <199912090402.XAA15460@polya.math.purdue.edu>you write:
>
> This fixes a problem with argument size not matchine format size
> in flow.c (the difference of pointers is a long).
No, the difference of pointer is not a long. It is a ptrdiff_t.
Consider targets where a long is 64bits, but pointers are only 32bits.
There are some macros in the compiler to deal with printing pointer
values. They should be used. Search for PRINTF in system.h.
jeff