public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [wwwdocs] Update changes.html
@ 2015-05-25 10:25 Marek Polacek
  0 siblings, 0 replies; 10+ messages in thread
From: Marek Polacek @ 2015-05-25 10:25 UTC (permalink / raw)
  To: GCC Patches

I've committed the following update to reflect the recent addition.

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v
retrieving revision 1.7
diff -u -r1.7 changes.html
--- changes.html	14 May 2015 22:07:28 -0000	1.7
+++ changes.html	25 May 2015 08:13:52 -0000
@@ -32,6 +32,14 @@
 
 <h3 id="c-family">C family</h3>
   <ul>
+    <li>The C and C++ compilers now support attributes on enumerators.  For instance,
+	it is now possible to mark enumerators as deprecated:
+<blockquote><pre>
+enum {
+  newval,
+  oldval __attribute__ ((deprecated ("too old")))
+};
+</pre></blockquote></li>
     <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>

	Marek

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [wwwdocs] Update changes.html
@ 2015-05-11 14:48 Marek Polacek
  2015-05-11 16:04 ` Gerald Pfeifer
  0 siblings, 1 reply; 10+ messages in thread
From: Marek Polacek @ 2015-05-11 14:48 UTC (permalink / raw)
  To: GCC Patches, Gerald Pfeifer

Ok to commit?

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 14:44:38 -0000
@@ -16,15 +16,36 @@
 
 
 <!-- .................................................................. -->
-<!-- <h2 id="general">General Optimizer Improvements</h2> -->
-
+<h2 id="general">General Optimizer Improvements</h2>
+  <ul>
+    <li>UndefinedBehaviorSanitizer gained a new sanitization option:
+    <ul>
+      <li><code>-fsanitize=bounds-strict</code>: enables strict checking
+	  of array bounds.  In particular, it enables
+	  <code>-fsanitize=bounds</code> as well as instrumentation of
+	  flexible array member-like arrays.</li>
+    </ul>
+  </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 an 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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [wwwdocs] Update changes.html
@ 2014-10-15 10:30 Marek Polacek
  2014-10-15 10:51 ` Richard Biener
  0 siblings, 1 reply; 10+ messages in thread
From: Marek Polacek @ 2014-10-15 10:30 UTC (permalink / raw)
  To: GCC Patches

A trivial patch to document that the C default has been changed.

Applying.

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
retrieving revision 1.16
diff -u -r1.16 changes.html
--- changes.html	10 Oct 2014 17:57:52 -0000	1.16
+++ changes.html	15 Oct 2014 10:20:18 -0000
@@ -60,6 +60,7 @@
 
 <h3 id="c">C</h3>
   <ul>
+    <li>The default mode has been changed to <code>-std=gnu11</code>.</li>
     <li>A new command-line option <code>-Wc90-c99-compat</code> has been added
 	to warn about features not present in ISO C90, but present in ISO
 	C99.</li>

	Marek

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-05-25  8:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-25 10:25 [wwwdocs] Update changes.html Marek Polacek
  -- strict thread matches above, loose matches on Subject: below --
2015-05-11 14:48 Marek Polacek
2015-05-11 16:04 ` Gerald Pfeifer
2015-05-11 16:17   ` Marek Polacek
2015-05-11 16:40     ` Gerald Pfeifer
2014-10-15 10:30 Marek Polacek
2014-10-15 10:51 ` Richard Biener
2014-10-15 11:09   ` Jakub Jelinek
2014-10-15 11:25     ` Marek Polacek
2014-10-15 11:10   ` 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).