Fix cast as lvalue in sunrpc
Andreas Jaeger
aj@suse.de
Sun Feb 8 18:26:00 GMT 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20040208/ef0e7144/attachment.sig>
More information about the Libc-hacker
mailing list