This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [wwwdocs] Update changes.html


On Mon, May 11, 2015 at 06:04:48PM +0200, Gerald Pfeifer wrote:
> Hi Marek,
> 
> On Mon, 11 May 2015, Marek Polacek wrote:
> > Ok to commit?
> 
> as maintainer I am happy for you to commit documentation/web changes
> without approval, though I am also happy to review.

I was hoping you could glance over it before I commit the patch; and
given the below, I'm glad you did ;).
 
> Here I'm wondering whether the nested list could just be merged
> into the primary item (and I'd omit the colon before "enables").

Agreed.  If we have more new options, we can make a list out of it.
 
> "a union".  English can be tricky for us non-native speakers at 
> times, since usually you would use "an" before "u", except when 
> that "u" is pronounced as a consonant or a syllable starting with 
> one.  And the "u" in "union" actually is prounced as "you-nion".

Yeah, I'm familiar with this rule, and I usually got that right.
Not sure how I goofed it up this time.

Is the following any better?  Thanks,

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v
retrieving revision 1.3
diff -u -r1.3 changes.html
--- changes.html	6 May 2015 09:55:29 -0000	1.3
+++ changes.html	11 May 2015 16:16:04 -0000
@@ -16,15 +16,34 @@
 
 
 <!-- .................................................................. -->
-<!-- <h2 id="general">General Optimizer Improvements</h2> -->
-
+<h2 id="general">General Optimizer Improvements</h2>
+  <ul>
+    <li>UndefinedBehaviorSanitizer gained a new sanitization option,
+	<code>-fsanitize=bounds-strict</code>, which enables strict checking
+	of array bounds.  In particular, it enables
+	<code>-fsanitize=bounds</code> as well as instrumentation of
+	flexible array member-like arrays.
+  </ul>
 
 <!-- .................................................................. -->
 <h2 id="languages">New Languages and Language specific improvements</h2>
 
 <!-- <h3 id="ada">Ada</h3> -->
 
-<!-- <h3 id="c-family">C family</h3> -->
+<h3 id="c-family">C family</h3>
+  <ul>
+    <li>A new command-line option <code>-Wshift-negative-value</code> has been
+	added for the C and C++ compilers, which warns about left shifting
+	a negative value.</li>
+  </ul>
+
+<h3 id="c">C</h3>
+  <ul>
+    <li>It is possible to disable warnings when an initialized field of
+	a structure or a union with side effects is being overridden when
+	using designated initializers via a new warning option
+	<code>-Woverride-init-side-effects</code>.</li>
+  </ul>
 
 <h3 id="cxx">C++</h3>
 

	Marek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]