From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) by sourceware.org (Postfix) with ESMTPS id 7C9A1385800C for ; Wed, 16 Aug 2023 21:33:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7C9A1385800C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gwmail.gwu.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gwmail.gwu.edu Received: by mail-vs1-xe2a.google.com with SMTP id ada2fe7eead31-44b74207c25so462431137.3 for ; Wed, 16 Aug 2023 14:33:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gwmail.gwu.edu; s=google; t=1692221635; x=1692826435; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=a3mucO6N3rqQTeHcpNT9Oba9HuHVwHSh4rfIt2y34kQ=; b=BE48tAAuXpaIOIQbo5QP0V5MPyEEgAwykqdMyumCnY08Wlqo2curuAuTYMHlhdYZAB NCsp1vypjYKUoeGPnTTd/ROdzlw3e6im1VCEmnuY0cEU1O1kBaUEh4C28Afj0KROQSbu KdQrFNsLo69PrJclZjQgABhxTlB/yLleKIo6M4aGzU8o5OaRrQFE/1X5PBfxiztwwCzP ACd4dVa+CZNNjVtLNMnGV1KCr/ZWrvfv8NcaM96gxj1jYA766FJZxkc+dRGQ9JWUyRtS jJpd1Lk54TfBvJhMKRmvMP375ZkOknlg/AhiPrtjCXNLyZ4kMDejl8Ht7n17CHsaMDTF 7W6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692221635; x=1692826435; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a3mucO6N3rqQTeHcpNT9Oba9HuHVwHSh4rfIt2y34kQ=; b=WBxLYZ5UeYGMYyT816oK7PZNrtQHE0dAAnXNu1SivGHwz6fbnW8uXkg0STgMPtP+zS ew4imeNHS2ikCPHnk2vaoNZXbt2uU87jQHIKsE3w4rBjnvcERhVg3bRu1Owj2JLiLKAY 8nr3SuUcPZk+DVbD8hXqPeD27VjDRYwMypJGl8ba/a36t+vUeeQz1kJ2yWwoSpdsiwMs nn03mhIGOFn64ncULIH4w1jJIb9I83J1VCZPStPTMIiSq+KARCMZomH7Pio0mYv104dv 7qz9/lDneqy7kgTBEWADoQcOmuRcbpDz9tqGDTRJfxZTKWu/IVg6Y0mkZpsn+c8GSE2D X96A== X-Gm-Message-State: AOJu0Ywjh7dD3vQwnA3edZMVJzxmMmm23yhG0xuYLXohghEO0OzoxN95 sOkbckxIrTf7sVZCSYiLo0vVPAKucoPfy3fCl+ZPpiXDV+AnfHJz X-Google-Smtp-Source: AGHT+IEjR3UQBCbMDgV0uOJo7tjRkFLTfg++GC/6pAyhPC9+NJy4vXqG+N8A8ht0anyHDZBuv8LA2FWZ2n7DkRWn8lY= X-Received: by 2002:a67:f513:0:b0:446:de31:c78 with SMTP id u19-20020a67f513000000b00446de310c78mr3224500vsn.26.1692221635595; Wed, 16 Aug 2023 14:33:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Eric Gallager Date: Wed, 16 Aug 2023 17:33:44 -0400 Message-ID: Subject: [PING] Re: [PATCH v2] Re: [WIP] Have -Wpointer-sign be enabled by -Wextra, too [PR109836] To: gcc-patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,JMQ_SPF_NEUTRAL,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: PING On Tue, Aug 8, 2023 at 8:17=E2=80=AFPM Eric Gallager = wrote: > > On Tue, May 30, 2023 at 5:42=E2=80=AFPM Eric Gallager wrote: > > > > PR109836 is a request to have -Wpointer-sign enabled by default. There > > were points of disagreement raised in the bug report, so I figured > > that maybe as a compromise, the warning could just be enabled by > > -Wextra, as well (I have in fact seen some projects that enable > > -Wextra but not -Wall). This patch would implement my suggestion of > > adding it to -Wextra, but it's not ready to commit yet, as it still > > needs testing, documentation, and a ChangeLog entry. I'm just posting > > it here as an RFC; what do people think? > > Here's the link for the previous message's spot in the archives: > https://gcc.gnu.org/pipermail/gcc-patches/2023-May/620137.html > Here's an updated (but still untested) version of the patch with an invok= e.texi > update and a ChangeLog entry: > > gcc/c-family/ChangeLog: > > * c.opt: Have -Wpointer-sign be enabled by -Wextra, too > > gcc/ChangeLog: > > * doc/invoke.texi: Document -Wpointer-sign now being enabled by -Wext= ra, too