From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id 870F83858D39 for ; Wed, 15 Mar 2023 14:30:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 870F83858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-x32d.google.com with SMTP id j42-20020a05600c1c2a00b003ed363619ddso623735wms.1 for ; Wed, 15 Mar 2023 07:30:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678890609; h=in-reply-to:references:cc:to:from:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=GTlazCaKgtYbylrCe/rOOkyeGI/lHreSCnGCNspdhFc=; b=ahRZTDt/PTDc4PRGos4THb6KwiQo5Ob7YMT4FKNmT4tgdop6Wjwl8sg2uhYpYqiuBx 2wr98tMP4EiOs6eXQzfo1d7S/XJNwhboERoPkBZwYGCJ54cWT/NFX58g9VNNWHdfnYyZ BHtzvnIk5d7NQnoNj4Px5BSwVnImEFDu/XypX1iHeKmAjKEEgiehgJ6UGI1Cw5RAlTs0 1FelruvZn+gBFmBCJuHA5vIr2oURwKS41lGJ7RICHkbNba2fMXnrPN5uDcpn7RRQdNno m+BYq2cXtDgSKAWxlppm/0PMYnlCuIkCuSrz92x8c7RYm1TfX6nk50Ba9pYdWJ1BpsL1 WhEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678890609; h=in-reply-to:references:cc:to:from:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=GTlazCaKgtYbylrCe/rOOkyeGI/lHreSCnGCNspdhFc=; b=5lJOTAzsCWEnnGiERtech3NHFjIHIQWmH+842744RxDCSihzc8DqIHNzjQSkjuw11g eH8hTqVWBkFSUVa+uobaMUwuEEnbeNNjq63VoKr2iSHNwa8brqLE6Kqv3aIXpSfFbph/ rzAKwVTJgdLRpU+4/n4x6cVs5D/GcttioJMtXFq072Kk0IzxXM4iOVhw6w/Z3Z58C3Ex r62hy+LuwmDPZ6i2gRqvX0PBskdzPr1dHs50f0zd/8u7sRXxmItN7m8QEVrwbu7DUdJI 9MmZRiIcRY7AcDCw9moWhQEQ2vfOhHHIsyItxAmPWfrcaJZBqfvLKMVH5jSD155UphYN C/Qg== X-Gm-Message-State: AO0yUKUPxxFcZA9wjCUqNglXXW/j4XKFE6jyVr8WU+anIUVVVaoQa4bv DMudkpwKk8Qs7B+jxPeCSWe/KEYGf0k= X-Google-Smtp-Source: AK7set/xlL3bgNzBcgn/4SrfJh3bK6UZGo/uiSEMrA+YwEvsg9qQcbWTCedzvVFVQdZgMMtmwCl3Xg== X-Received: by 2002:a05:600c:4fcf:b0:3eb:29fe:f911 with SMTP id o15-20020a05600c4fcf00b003eb29fef911mr17968185wmq.13.1678890609106; Wed, 15 Mar 2023 07:30:09 -0700 (PDT) Received: from [192.168.0.160] ([170.253.51.134]) by smtp.gmail.com with ESMTPSA id w12-20020a5d608c000000b002cfefa50a8esm3469737wrt.98.2023.03.15.07.30.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Mar 2023 07:30:08 -0700 (PDT) Message-ID: Date: Wed, 15 Mar 2023 15:30:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Ping: [PATCH resend] Make -Wuse-after-free=3 the default one in -Wall Content-Language: en-US From: Alejandro Colomar To: gcc-patches@gcc.gnu.org Cc: Alejandro Colomar , Andreas Schwab , David Malcolm , Florian Weimer , Iker Pedrosa , Jens Gustedt , Jonathan Wakely , Mark Wielaard , Martin Uecker , Michael Kerrisk , Paul Eggert , Sam James , Siddhesh Poyarekar , Yann Droneaud References: <3d7d07cf-3276-b091-69d5-bf00b04e518d@gotplt.org> <20230217230525.10750-1-alx@kernel.org> In-Reply-To: <20230217230525.10750-1-alx@kernel.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------0M9LE4Qq6vDxCViur07AIkQD" X-Spam-Status: No, score=-10.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------0M9LE4Qq6vDxCViur07AIkQD Content-Type: multipart/mixed; boundary="------------0uZ2FPEetw9qu9ig7RS9uYX5"; protected-headers="v1" From: Alejandro Colomar To: gcc-patches@gcc.gnu.org Cc: Alejandro Colomar , Andreas Schwab , David Malcolm , Florian Weimer , Iker Pedrosa , Jens Gustedt , Jonathan Wakely , Mark Wielaard , Martin Uecker , Michael Kerrisk , Paul Eggert , Sam James , Siddhesh Poyarekar , Yann Droneaud Message-ID: Subject: Ping: [PATCH resend] Make -Wuse-after-free=3 the default one in -Wall References: <3d7d07cf-3276-b091-69d5-bf00b04e518d@gotplt.org> <20230217230525.10750-1-alx@kernel.org> In-Reply-To: <20230217230525.10750-1-alx@kernel.org> --------------0uZ2FPEetw9qu9ig7RS9uYX5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ping On 2/18/23 00:05, Alejandro Colomar wrote: > Link: > Link: > Cc: Andreas Schwab > Cc: David Malcolm > Cc: Florian Weimer > Cc: Iker Pedrosa > Cc: Jens Gustedt > Cc: Jonathan Wakely > Cc: Mark Wielaard > Cc: Martin Uecker > Cc: Michael Kerrisk > Cc: Paul Eggert > Cc: Sam James > Cc: Siddhesh Poyarekar > Cc: Yann Droneaud > Signed-off-by: Alejandro Colomar > --- >=20 > This is a resend of the same patch previously sent to gcc@. >=20 > gcc/c-family/c.opt | 4 ++-- > gcc/doc/invoke.texi | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt > index c0fea56a8f5..1a3fc2c5d74 100644 > --- a/gcc/c-family/c.opt > +++ b/gcc/c-family/c.opt > @@ -1411,11 +1411,11 @@ C ObjC C++ ObjC++ Joined RejectNegative UIntege= r Var(warn_unused_const_variable) > Warn when a const variable is unused. > =20 > ; Defining this option here in addition to common.opt is necessary > -; in order for the default -Wall setting of -Wuse-after-free=3D2 to ta= ke > +; in order for the default -Wall setting of -Wuse-after-free=3D3 to ta= ke > ; effect. > =20 > Wuse-after-free=3D > -LangEnabledBy(C ObjC C++ LTO ObjC++, Wall,2,0) > +LangEnabledBy(C ObjC C++ LTO ObjC++, Wall,3,0) > ; in common.opt > =20 > Wvariadic-macros > diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi > index 7b308cd3c31..d910052ce0c 100644 > --- a/gcc/doc/invoke.texi > +++ b/gcc/doc/invoke.texi > @@ -4720,7 +4720,7 @@ instead of pointers. This approach obviates need= ing to adjust the stored > pointers after reallocation. > @end table > =20 > -@option{-Wuse-after-free=3D2} is included in @option{-Wall}. > +@option{-Wuse-after-free=3D3} is included in @option{-Wall}. > =20 > @item -Wuseless-cast @r{(C++ and Objective-C++ only)} > @opindex Wuseless-cast --=20 GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5 --------------0uZ2FPEetw9qu9ig7RS9uYX5-- --------------0M9LE4Qq6vDxCViur07AIkQD Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6jqH8KTroDDkXfJAnowa+77/2zIFAmQR1m8ACgkQnowa+77/ 2zKjUA//aDfvyXOPDGYuP4WYmAoh5EP9r8M1kJwA7kOStH2jpZMinpiZ45ZKBmFL LVrFQjZanjR1YhDQ0OZc5rYMKCVloL71rTKucqYWDZ1G+Wn5w5N+0T3kBR0ybn2k iYC7odEe7X4W31IZBC60Wgv1hXVPWnv5MUP+XBfuW5S2i6WCOT8Myg5xerzMsmNw 9YIFR3+BZDyvFXibjGLdzUGrbZ7rD2jGtbD2yuyLBfULDC/75L5BdkqqWw5wBW49 H9JoNWLjdZHsfdGcGW8I4cJDRfy2RCCagN0npRE5PfCIjaz4qPZVDa3yhXOn1o2i mq+4a0VNDS1m7f2mqMdOsqwRJv9PSUJtEKil0UfzemYJNd/O0bKuVvEHKuBsttRn 7UJkAO5UdJeZAbIVxMSJe/JuxaTUkN/CF/b+okkO6NgnH2jJCuX3RcZECNK4tmju x5+ZoRoz4X59F33Kk0HzqdoYkVUSu8a7ZTqO/KNQXg/OhfZR3MJtPyohpP4/eh7r JJXbsF8jGPC7Sq1Y/yjgBLi92dotJSG77KYMPF2C3u0Odvkr0WHNMgkp4HZrA7V4 Co+VQS89nkCylx2YQpfkfyVzdN0bSOhdZzQlMgL7f/wB93B6WE3zFkHSPGxz55a0 La6BJ1Bb7boelpH2WPZAnidTFUGrkVqPeu53RAmzEvSN592RKJU= =wIIy -----END PGP SIGNATURE----- --------------0M9LE4Qq6vDxCViur07AIkQD--