From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 2B5201F5A0 for ; Sat, 4 Feb 2023 22:10:53 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOQk9-0003A9-QQ; Sat, 04 Feb 2023 17:10:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOQk8-00039z-4s for bug-gnulib@gnu.org; Sat, 04 Feb 2023 17:10:44 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183] helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pOQk6-0005sJ-F0 for bug-gnulib@gnu.org; Sat, 04 Feb 2023 17:10:43 -0500 Content-Type: multipart/signed; boundary="Apple-Mail=_EF0D7879-9A5D-4935-8519-86037414D687"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: coreutils/gnulib - fts.c dangling pointers & gcc 13.1 From: Sam James In-Reply-To: <8e1c650a-cd3f-6f5d-ed0b-d0b7c3e55af0@cs.ucla.edu> Date: Sat, 4 Feb 2023 22:10:25 +0000 Cc: Peter Frazier , bug-gnulib@gnu.org Message-Id: References: <7B6A1D32-7ECD-4DE0-9E0C-1955F9B756B5@gentoo.org> <7cc5a194-7cd8-e88e-c8fe-b7fa4df4af01@cs.ucla.edu> <456afa7c-fafc-dd20-af7e-8202aa24a6ad@cs.ucla.edu> <3CF19D45-F152-41AF-BFA9-0FB7A4B799DB@gentoo.org> <8e1c650a-cd3f-6f5d-ed0b-d0b7c3e55af0@cs.ucla.edu> To: Paul Eggert X-Mailer: Apple Mail (2.3731.300.101.1.3) Received-SPF: pass client-ip=140.211.166.183; envelope-from=sam@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org --Apple-Mail=_EF0D7879-9A5D-4935-8519-86037414D687 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 4 Feb 2023, at 22:03, Paul Eggert wrote: >=20 > On 2023-02-04 12:23, Sam James wrote: >> I guess it's hard for me to say given I don't know what options = allowed it to be reproduced and I couldn't hit it. >> I assumed it must have been -Wstrict-aliasing=3D2 or lower which = makes it more aggressive at the risk of false positives. >> But if you reproduced it, then it's useful, I suppose. >=20 > I didn't reproduce the warning, since I lack GCC "13.1". I merely = looked at the Gnulib source and noticed a couple of places where it was = not conforming to the C standard. I have enough knowledge of GCC = internals that I think I've changed the code so that it will pacify GCC = "13.1". >=20 > Although the updated code still doesn't conform, it should work fine = on real platforms. (The old code probably works too, for what it's = worth.) Alright, thanks for explaining - I follow now, cheers. Maybe we'll get more information from the original reporter too. --Apple-Mail=_EF0D7879-9A5D-4935-8519-86037414D687 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCY97X0V8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MAAKCRBzhAn1IN+R kDuGAP4xumEnGAX4P7cytwWM/oMv8gpaIAnVmEKMb2nMBSBT7wEAmo/dDy5u1XgW wOM+IZUlnkJLKMi+rknb4wS7wQkVTwo= =j5B3 -----END PGP SIGNATURE----- --Apple-Mail=_EF0D7879-9A5D-4935-8519-86037414D687--