* [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
* Re: [wwwdocs] Update changes.html
2015-05-11 14:48 Marek Polacek
@ 2015-05-11 16:04 ` Gerald Pfeifer
2015-05-11 16:17 ` Marek Polacek
0 siblings, 1 reply; 10+ messages in thread
From: Gerald Pfeifer @ 2015-05-11 16:04 UTC (permalink / raw)
To: Marek Polacek; +Cc: GCC Patches
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.
> +<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>
Here I'm wondering whether the nested list could just be merged
into the primary item (and I'd omit the colon before "enables").
> + <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>
"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".
Gerald
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [wwwdocs] Update changes.html
2015-05-11 16:04 ` Gerald Pfeifer
@ 2015-05-11 16:17 ` Marek Polacek
2015-05-11 16:40 ` Gerald Pfeifer
0 siblings, 1 reply; 10+ messages in thread
From: Marek Polacek @ 2015-05-11 16:17 UTC (permalink / raw)
To: Gerald Pfeifer; +Cc: GCC Patches
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
^ 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
* Re: [wwwdocs] Update changes.html
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:10 ` Marek Polacek
0 siblings, 2 replies; 10+ messages in thread
From: Richard Biener @ 2014-10-15 10:51 UTC (permalink / raw)
To: Marek Polacek; +Cc: GCC Patches
On Wed, Oct 15, 2014 at 12:21 PM, Marek Polacek <polacek@redhat.com> wrote:
> A trivial patch to document that the C default has been changed.
This should be also mentioned at the toplevel "Caveats" section.
Richard.
> 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
* Re: [wwwdocs] Update changes.html
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
1 sibling, 1 reply; 10+ messages in thread
From: Jakub Jelinek @ 2014-10-15 11:09 UTC (permalink / raw)
To: Richard Biener; +Cc: Marek Polacek, GCC Patches
On Wed, Oct 15, 2014 at 12:50:55PM +0200, Richard Biener wrote:
> On Wed, Oct 15, 2014 at 12:21 PM, Marek Polacek <polacek@redhat.com> wrote:
> > A trivial patch to document that the C default has been changed.
>
> This should be also mentioned at the toplevel "Caveats" section.
And porting_to.html.
Jakub
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [wwwdocs] Update changes.html
2014-10-15 10:51 ` Richard Biener
2014-10-15 11:09 ` Jakub Jelinek
@ 2014-10-15 11:10 ` Marek Polacek
1 sibling, 0 replies; 10+ messages in thread
From: Marek Polacek @ 2014-10-15 11:10 UTC (permalink / raw)
To: Richard Biener; +Cc: GCC Patches
On Wed, Oct 15, 2014 at 12:50:55PM +0200, Richard Biener wrote:
> On Wed, Oct 15, 2014 at 12:21 PM, Marek Polacek <polacek@redhat.com> wrote:
> > A trivial patch to document that the C default has been changed.
>
> This should be also mentioned at the toplevel "Caveats" section.
Ok, I'll commit the following as well.
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
retrieving revision 1.17
diff -u -r1.17 changes.html
--- changes.html 15 Oct 2014 10:22:16 -0000 1.17
+++ changes.html 15 Oct 2014 11:08:35 -0000
@@ -12,7 +12,11 @@
<h1>GCC 5 Release Series<br />Changes, New Features, and Fixes</h1>
-<!-- h2>Caveats</h2 -->
+<h2>Caveats</h2>
+ <ul>
+ <li>The default mode for C is now <code>-std=gnu11</code> instead of
+ <code>-std=gnu89</code>.</li>
+ </ul>
<h2 id="general">General Optimizer Improvements</h2>
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).