On Mon, Jul 27, 2015 at 12:34:06AM +0200, Gerald Pfeifer wrote:
> Hi Marek,
> 
> On Tue, 21 Jul 2015, Marek Polacek wrote:
> > +    <li>A new command-line option <code>-Wshift-overflow</code> has been
> > +   added for the C and C++ compilers, which warns about left shift
> > +   overflows.  <code>-Wshift-overflow=2</code> also warns about
> > +   left-shifting 1 into the sign bit.</li>
> 
> from what I can tell, this is enabled by default for modern 
> dialects of C and C++ (so many people will see new warnings 
> when upgrading)
> 
> Shouldn't this be mentioned here?

Ok, fixed.  Thanks.

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v
retrieving revision 1.15
diff -u -r1.15 changes.html
--- changes.html        21 Jul 2015 09:30:14 -0000      1.15
+++ changes.html        27 Jul 2015 11:14:11 -0000
@@ -46,7 +46,8 @@
     <li>A new command-line option <code>-Wshift-overflow</code> has been
        added for the C and C++ compilers, which warns about left shift
        overflows.  <code>-Wshift-overflow=2</code> also warns about
-       left-shifting 1 into the sign bit.</li>
+       left-shifting 1 into the sign bit.  This warning is enabled by
+       default.</li>
   </ul>
 
 <h3 id="c">C</h3>

        Marek

Reply via email to