This is the mail archive of the gcc-patches@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]

Re: 64bit cleanup in flow.c



  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


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