public inbox for gcc-cvs-wwwdocs@sourceware.org
help / color / mirror / Atom feed
* gcc-wwwdocs branch master updated. 6b13750d77f036225b0d9bf67eb6025fb1c551c8
@ 2020-10-23 19:27 Marek Polacek
  0 siblings, 0 replies; only message in thread
From: Marek Polacek @ 2020-10-23 19:27 UTC (permalink / raw)
  To: gcc-cvs-wwwdocs

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gcc-wwwdocs".

The branch, master has been updated
       via  6b13750d77f036225b0d9bf67eb6025fb1c551c8 (commit)
      from  d4566e22be1a0839218bb84cd89e44852fa3e3db (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6b13750d77f036225b0d9bf67eb6025fb1c551c8
Author: Marek Polacek <polacek@redhat.com>
Date:   Fri Oct 23 15:27:17 2020 -0400

    gcc-11/changes: Mention -Wsizeof-array-div.

diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html
index ac075966..dcb7b134 100644
--- a/htdocs/gcc-11/changes.html
+++ b/htdocs/gcc-11/changes.html
@@ -140,7 +140,18 @@ a work-in-progress.</p>
 
 <!-- <h3 id="brig">BRIG (HSAIL)</h3> -->
 
-<!-- <h3 id="c-family">C family</h3> -->
+<h3 id="c-family">C family</h3>
+<ul>
+  <li>New warnings:
+    <ul>
+      <li><code>-Wsizeof-array-div</code>, enabled by <code>-Wall</code>, 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.
+      </li>
+    </ul>
+  </li>
+</ul>
 
 <h3 id="cxx">C++</h3>
 <ul>

-----------------------------------------------------------------------

Summary of changes:
 htdocs/gcc-11/changes.html | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gcc-wwwdocs


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-23 19:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23 19:27 gcc-wwwdocs branch master updated. 6b13750d77f036225b0d9bf67eb6025fb1c551c8 Marek Polacek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).