This is the mail archive of the 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]
Other format: [Raw text]

Re: [tree-ssa] Merge status

"Joseph S. Myers" <> writes:

> On Wed, 17 Mar 2004, Andreas Jaeger wrote:
>> > code for hideous code.  Look at /usr/include/rpc/xdr.h for example.
>> Have you fixed that code?  Those occurences are the last (and most
>> tricky) ones in glibc and if those are changed, we can compile glibc
>> finally with mainline again...
> Which exactly are the problem macros, and is there any specification for
> their semantics and how they may be used?  As this is an installed header
> affected by my deprecation, I'll look at fixing that header and
> corresponding fixincludes support similar to that for obstack.h.  (And
> does the glibc testsuite exercise them?  When testing the obstack fixes I
> concluded it didn't seem to cover the relevant parts of obstack.)

These two (and similar ones):

#define IXDR_GET_INT32(buf)           ((int32_t)ntohl((uint32_t)*(buf)++))
#define IXDR_PUT_INT32(buf, v)        (*(buf)++ = (int32_t)htonl((uint32_t)(v)))

The first one is used as e.g.:

oa->oa_length = IXDR_GET_INT32 (buf);

All changes I did resulted in different assembler code...

 Andreas Jaeger,,
  SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature

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