This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: Fix cast as lvalue in sunrpc


Ulrich Drepper <drepper@redhat.com> writes:

> Andreas Schwab wrote:
>> This fixes the uses of casts as lvalue in the sunrpc code.
>
> Does this change the generated code?

Not with gcc-3_3-hammer-branch on AMD64:

gromit:/builds/glibc/hammer:[130]$ ll sunrpc/clnt_perr.o
-rw-r--r--    1 aj       users      116248 Feb  8 19:25 sunrpc/clnt_perr.o
gromit:/builds/glibc/hammer:[0]$ ll sunrpc/clnt_perr.o /tmp/clnt_perr.o 
-rw-r--r--    1 aj       users      116248 Feb  8 19:24 /tmp/clnt_perr.o
-rw-r--r--    1 aj       users      116248 Feb  8 19:25 sunrpc/clnt_perr.o
gromit:/builds/glibc/hammer:[0]$ objdump -d sunrpc/clnt_perr.o > /tmp/1
gromit:/builds/glibc/hammer:[0]$ objdump -d /tmp/clnt_perr.o > /tmp/2
gromit:/builds/glibc/hammer:[0]$ diff -u /tmp/1 /tmp/2
--- /tmp/1      2004-02-08 19:25:33.000000000 +0100
+++ /tmp/2      2004-02-08 19:25:40.000000000 +0100
@@ -1,5 +1,5 @@
 
-sunrpc/clnt_perr.o:     file format elf64-x86-64
+/tmp/clnt_perr.o:     file format elf64-x86-64
 
 Disassembly of section .text:

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  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]