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] Document some gcc-6 changes


On Tue, 8 Sep 2015, Manuel LÃpez-IbÃÃez wrote:
> I also took the liberty of rewriting the list of new command-line
> options to be less repetitive.

Nice!  (Aka "Thanks for doing this, please go ahead and commit.")

There is one question, but that is not introduced by your change:
Does the language now suggest that -Wshift-overflow=2 is enabled
by default, and hence shifting 1 into the sign bit?  Let's address
this separately, though, your change is fine as is, Manuel!

> +    <li><code>-Wshift-overflow</code> warns about left shift
>         overflows.  <code>-Wshift-overflow=2</code> also warns about
>         left-shifting 1 into the sign bit.  This warning is enabled by
>         default.</li>

David, what do you think?

Gerald

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