delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
X-Recipient: | djgpp-workers AT delorie DOT com |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=gmail.com; s=gamma; | |
h=mime-version:in-reply-to:references:date:message-id:subject:from:to | |
:content-type; | |
bh=X64opeADaiDbtkv/GGRmubWw+6Zp+6yw5beaXn57ci0=; | |
b=oMcuBC99YJ8h17x+LEZoqTfY3Fd4QkThbyvQiuCOdcHVmEoVSKIC5qD7A59Q8vSI3h | |
Kjjf8WBc4YBXYPWbTORPMJfNXvFVoldzmFA32/JXW7whZBhex+lss5S/okm/B56oRG3V | |
VbpAGdbVIzcAA3X005BQ7OQozCNsd9JX/NgyE= | |
MIME-Version: | 1.0 |
In-Reply-To: | <201106302109.30225.juan.guerrero@gmx.de> |
References: | <BANLkTinj8niun3H0Z6QTTsfQZ=8jD1rcSg AT mail DOT gmail DOT com> |
<201106302109 DOT 30225 DOT juan DOT guerrero AT gmx DOT de> | |
Date: | Thu, 30 Jun 2011 22:53:55 +0300 |
Message-ID: | <BANLkTin5NAdHrp9N1RkhZ_HosJjWLxdW_g@mail.gmail.com> |
Subject: | Re: [patch] fix epunzip stric aliasing warnings |
From: | Ozkan Sezer <sezeroz AT gmail DOT com> |
To: | djgpp-workers AT delorie DOT com |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
--0015176f1b08dfab7504a6f34243 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Jun 30, 2011 at 10:09 PM, Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de> wrote: > Am Dienstag, 28. Juni 2011 schrieb Ozkan Sezer: >> Hi: >> >> The attached patch fixes strict aliasing violation warnings in >> djtar/epunzip.c. =A0The warnings are only visible when using gcc<=3D3.3 >> (old but one I do use) but worth fixing, IMO, considering the shape >> of the code. >> >> Regards. >> >> -- >> O.S. >> > > I tested the patch submitted by Ozkan Sezer using gcc453b and gcc460b bot= h > djdev204 versions and it fixes the strict warning issues. =A0The proposed= changes > look ok to me. =A0If no one objects in a reasonable period of time I will= commit > the patch below. > > Regards, > Juan M. Guerrero > > > > =A0 =A0 =A0 =A0* src/utils/djtar/epunzip.c (epunzip_read): Fix strict aal= iasing warning. > =A0 =A0 =A0 =A0From Ozkan Sezer <sezeroz AT gmail DOT com> > Just a note: Replacing (int *) casts onto char buffers by (__dj_int_a *) is not necessary, as char* is already a may_alias type. EDIT: Even those (__dj_short_a *) can be simplified into (short *) casts, which I obviously missed doing in my initial version. In any case, the result will be just the same but, IMO, the simplified ones will be easier to read. Attached my 2nd version; pick as you like. Regards. -- O.S. --0015176f1b08dfab7504a6f34243 Content-Type: application/octet-stream; name="epunzip2.diff" Content-Disposition: attachment; filename="epunzip2.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gpk4sdhc0 SW5kZXg6IHNyYy91dGlscy9kanRhci9lcHVuemlwLmMKPT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2 cy9kamdwcC9kamdwcC9zcmMvdXRpbHMvZGp0YXIvZXB1bnppcC5jLHYKcmV0cmlldmluZyByZXZp c2lvbiAxLjgKZGlmZiAtdSAtcCAtcjEuOCBlcHVuemlwLmMKLS0tIHNyYy91dGlscy9kanRhci9l cHVuemlwLmMJOSBKYW4gMjAxMSAxNDoxOTo1OSAtMDAwMAkxLjgKKysrIHNyYy91dGlscy9kanRh ci9lcHVuemlwLmMJMzAgSnVuIDIwMTEgMTk6NTA6NDEgLTAwMDAKQEAgLTU0LDMwICs1NCwzMCBA QCBlcHVuemlwX3JlYWQoY2hhciAqemlwZmlsZW5hbWUpCiAgICAqIGZvciBhIG9uZS1zZWdtZW50 IFpJUCwg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BidWZmZXJbM10gPSAoY2hh cilnZXRfYnl0ZSgpOworICAgICAgdGltZWRhdGUgPSAqKGludCAqKWJ1ZmZlcjsKKworICAgICAg YnVmZmVyWzBdID0gKGNoYXIpZ2V0X2J5dGUoKTsKKyAgICAgIGJ1ZmZlclsxXSA9IChjaGFyKWdl dF9ieXRlKCk7CisgICAgICBidWZmZXJbMl0gPSAoY2hhcilnZXRfYnl0ZSgpOworICAgICAgYnVm ZmVyWzNdID0gKGNoYXIpZ2V0X2J5dGUoKTsKKyAgICAgIGNyYyA9ICooaW50ICopYnVmZmVyOwor CisgICAgICBidWZmZXJbMF0gPSAoY2hhcilnZXRfYnl0ZSgpOworICAgICAgYnVmZmVyWzFdID0g KGNoYXIpZ2V0X2J5dGUoKTsKKyAgICAgIGJ1ZmZlclsyXSA9IChjaGFyKWdldF9ieXRlKCk7Cisg ICAgICBidWZmZXJbM10gPSAoY2hhcilnZXRfYnl0ZSgpOworICAgICAgc2l6ZSA9ICooaW50ICop YnVmZmVyOworCisgICAgICBidWZmZXJbMF0gPSAoY2hhcilnZXRfYnl0ZSgpOworICAgICAgYnVm ZmVyWzFdID0gKGNoYXIpZ2V0X2J5dGUoKTsKKyAgICAgIGJ1ZmZlclsyXSA9IChjaGFyKWdldF9i eXRlKCk7CisgICAgICBidWZmZXJbM10gPSAoY2hhcilnZXRfYnl0ZSgpOworICAgICAgbGVuZ3Ro ID0gKihpbnQgKilidWZmZXI7CisKKyAgICAgIGJ1ZmZlclswXSA9IChjaGFyKWdldF9ieXRlKCk7 CisgICAgICBidWZmZXJbMV0gPSAoY2hhcilnZXRfYnl0ZSgpOworICAgICAgbmFtZV9sZW5ndGgg PSAqKHNob3J0ICopYnVmZmVyOworCisgICAgICBidWZmZXJbMF0gPSAoY2hhcilnZXRfYnl0ZSgp OworICAgICAgYnVmZmVyWzFdID0gKGNoYXIpZ2V0X2J5dGUoKTsKKyAgICAgIGV4dHJhX2xlbmd0 aCA9ICooc2hvcnQgKilidWZmZXI7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WzJdID0gKGNoYXIpZ2V0X2J5dGUoKTsKKwkgICAgICBidWZmZXJb M10gPSAoY2hhcilnZXRfYnl0ZSgpOworCSAgICAgIHNpemUgPSAqKGludCAqKWJ1ZmZlcjsKKwor CSAgICAgIGJ1ZmZlclswXSA9IChjaGFyKWdldF9ieXRlKCk7CisJICAgICAgYnVmZmVyWzFdID0g KGNoYXIpZ2V0X2J5dGUoKTsKKwkgICAgICBidWZmZXJbMl0gPSAoY2hhcilnZXRfYnl0ZSgpOwor CSAgICAgIGJ1ZmZlclszXSA9IChjaGFyKWdldF9ieXRlKCk7CisJICAgICAgbGVuZ3RoID0gKihp bnQgKilidWZmZXI7CiAJICAgIH0KIAogCX0K --0015176f1b08dfab7504a6f34243--
webmaster | delorie software privacy |
Copyright � 2019 by DJ Delorie | Updated Jul 2019 |