On 04/09/18 14:25 +0100, Jonathan Wakely wrote:
* doc/invoke.texi (Option Summary): Add -Waligned-new.
Committing to trunk and branches as obvious.
commit 55e8b8ff39837963039e6852fd9c7ed403e6eb49
Author: Jonathan Wakely <jwak...@redhat.com>
Date: Tue Sep 4 14:22:09 2018 +0100
Add -Waligned-new to Option Summary
* doc/invoke.texi (Option Summary): Add -Waligned-new.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index f911ae0d1af..27d822e83c3 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -277,7 +277,7 @@ Objective-C and Objective-C++ Dialects}.
@xref{Warning Options,,Options to Request or Suppress Warnings}.
@gccoptlist{-fsyntax-only -fmax-errors=@var{n} -Wpedantic @gol
-pedantic-errors @gol
--w -Wextra -Wall -Waddress -Waggregate-return @gol
+-w -Wextra -Wall -Waddress -Waggregate-return -Waligned-new @gol
I noticed this should have two spaces before the option, so did that.
commit bedaeaf331b53c01152d5856d3fd82412ee896be
Author: Jonathan Wakely <jwak...@redhat.com>
Date: Tue Sep 4 14:34:06 2018 +0100
Add whitespace before warning option added in previous commmit
* doc/invoke.texi (Option Summary): Add whitespace.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 27d822e83c3..ca92028b9ea 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -277,7 +277,7 @@ Objective-C and Objective-C++ Dialects}.
@xref{Warning Options,,Options to Request or Suppress Warnings}.
@gccoptlist{-fsyntax-only -fmax-errors=@var{n} -Wpedantic @gol
-pedantic-errors @gol
--w -Wextra -Wall -Waddress -Waggregate-return -Waligned-new @gol
+-w -Wextra -Wall -Waddress -Waggregate-return -Waligned-new @gol
-Walloc-zero -Walloc-size-larger-than=@var{byte-size}
-Walloca -Walloca-larger-than=@var{byte-size} @gol
-Wno-aggressive-loop-optimizations -Warray-bounds -Warray-bounds=@var{n} @gol