From patchwork Fri Jan 22 20:50:25 2021
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: David Malcolm
X-Patchwork-Id: 1430559
Return-Path:
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@bilbo.ozlabs.org
Authentication-Results: ozlabs.org;
spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org
(client-ip=8.43.85.97; helo=sourceware.org;
envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=)
Authentication-Results: ozlabs.org;
dkim=pass (1024-bit key;
unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256
header.s=default header.b=wwsoQgFY;
dkim-atps=neutral
Received: from sourceware.org (unknown [8.43.85.97])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest
SHA256)
(No client certificate requested)
by ozlabs.org (Postfix) with ESMTPS id 4DMryL4jqpz9sCq
for ; Sat, 23 Jan 2021 07:51:06 +1100 (AEDT)
Received: from server2.sourceware.org (localhost [IPv6:::1])
by sourceware.org (Postfix) with ESMTP id 456D339960F1;
Fri, 22 Jan 2021 20:50:54 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 456D339960F1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org;
s=default; t=1611348654;
bh=bE7JHEXJE7HKw3RONN8bpDy5RJeIfRMTv4bCXbM3HQs=;
h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=wwsoQgFY0VUjnQX6Y1alhNiMNppo3TqNYwfYxDCLdSAHecjbb8DVe5uw5a5I+RS7N
dCXVSdimZSGMNoYGIzvjMkj8j4cJCxcMCw6mPrBTfiFq2rGpPeiv4od9HeQvdOyhZR
olPi6wHi3Ofm5Jws49WefQBOZrWgFGjx565Q9gzY=
X-Original-To: gcc-patches@gcc.gnu.org
Delivered-To: gcc-patches@gcc.gnu.org
Received: from us-smtp-delivery-124.mimecast.com
(us-smtp-delivery-124.mimecast.com [63.128.21.124])
by sourceware.org (Postfix) with ESMTP id 528A939DC497
for ; Fri, 22 Jan 2021 20:50:50 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 528A939DC497
Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com
[209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id
us-mta-466-btKenfXGOFSHfXis98B_jQ-1; Fri, 22 Jan 2021 15:50:47 -0500
X-MC-Unique: btKenfXGOFSHfXis98B_jQ-1
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com
[10.5.11.11])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5636759
for ; Fri, 22 Jan 2021 20:50:46 +0000 (UTC)
Received: from t470.redhat.com (ovpn-112-159.phx2.redhat.com [10.3.112.159])
by smtp.corp.redhat.com (Postfix) with ESMTP id F420C9CA0;
Fri, 22 Jan 2021 20:50:45 +0000 (UTC)
To: gcc-patches@gcc.gnu.org
Subject: [PATCH 6/6] gcc 11: add documentation link for -Wsizeof-array-div
Date: Fri, 22 Jan 2021 15:50:25 -0500
Message-Id: <20210122205024.470734-7-dmalcolm@redhat.com>
In-Reply-To: <20210122205024.470734-1-dmalcolm@redhat.com>
References: <20210122205024.470734-1-dmalcolm@redhat.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
X-Spam-Status: No, score=-14.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0,
KAM_SHORT,
RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: gcc-patches@gcc.gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Gcc-patches mailing list
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-Patchwork-Original-From: David Malcolm via Gcc-patches
From: David Malcolm
Reply-To: David Malcolm
Errors-To: gcc-patches-bounces@gcc.gnu.org
Sender: "Gcc-patches"
---
htdocs/gcc-11/changes.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html
index ba09587d..08a4c93a 100644
--- a/htdocs/gcc-11/changes.html
+++ b/htdocs/gcc-11/changes.html
@@ -184,7 +184,8 @@ a work-in-progress.
New warnings:
- -Wsizeof-array-div
, enabled by -Wall
, warns
+ -Wsizeof-array-div
,
+ enabled by -Wall
, warns
about divisions of two sizeof operators when the first one is applied
to an array and the divisor does not equal the size of the array
element.