diff options
| author | Paul Eggert | 2018-04-28 16:49:23 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-04-28 16:56:48 -0700 |
| commit | 2b9ab8c8fba849da8bf2aa45e65b122bb937a6b3 (patch) | |
| tree | 48f3c2ad4ed90977a8e990e3bded2b04533d38da /m4 | |
| parent | bcee1600384e3ef223a90e7e4eac0e1e25f473b7 (diff) | |
| download | emacs-2b9ab8c8fba849da8bf2aa45e65b122bb937a6b3.tar.gz emacs-2b9ab8c8fba849da8bf2aa45e65b122bb937a6b3.zip | |
Update from Gnulib
This incorporates:
2018-04-27 manywarnings: port to GCC 8.0
* build-aux/config.sub, m4/manywarnings.m4: Copy from Gnulib.
Diffstat (limited to 'm4')
| -rw-r--r-- | m4/manywarnings.m4 | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/m4/manywarnings.m4 b/m4/manywarnings.m4 index 18249b8f2ea..60c0e4051cb 100644 --- a/m4/manywarnings.m4 +++ b/m4/manywarnings.m4 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # manywarnings.m4 serial 13 | 1 | # manywarnings.m4 serial 14 |
| 2 | dnl Copyright (C) 2008-2018 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2008-2018 Free Software Foundation, Inc. |
| 3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| @@ -106,10 +106,9 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)], | |||
| 106 | # To compare this list to your installed GCC's, run this Bash command: | 106 | # To compare this list to your installed GCC's, run this Bash command: |
| 107 | # | 107 | # |
| 108 | # comm -3 \ | 108 | # comm -3 \ |
| 109 | # <(sed -n 's/^ *\(-[^ 0-9][^ ]*\) .*/\1/p' manywarnings.m4 | sort) \ | 109 | # <((sed -n 's/^ *\(-[^ 0-9][^ ]*\) .*/\1/p' manywarnings.m4; \ |
| 110 | # <(gcc --help=warnings | sed -n 's/^ \(-[^ ]*\) .*/\1/p' | sort | | 110 | # awk '/^[^#]/ {print $1}' ../build-aux/gcc-warning.spec) | sort) \ |
| 111 | # grep -v -x -F -f <( | 111 | # <(gcc --help=warnings | sed -n 's/^ \(-[^ ]*\) .*/\1/p' | sort) |
| 112 | # awk '/^[^#]/ {print $1}' ../build-aux/gcc-warning.spec)) | ||
| 113 | 112 | ||
| 114 | gl_manywarn_set= | 113 | gl_manywarn_set= |
| 115 | for gl_manywarn_item in -fno-common \ | 114 | for gl_manywarn_item in -fno-common \ |
| @@ -118,6 +117,7 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)], | |||
| 118 | -Waddress \ | 117 | -Waddress \ |
| 119 | -Waggressive-loop-optimizations \ | 118 | -Waggressive-loop-optimizations \ |
| 120 | -Wall \ | 119 | -Wall \ |
| 120 | -Wattribute-alias \ | ||
| 121 | -Wattributes \ | 121 | -Wattributes \ |
| 122 | -Wbad-function-cast \ | 122 | -Wbad-function-cast \ |
| 123 | -Wbool-compare \ | 123 | -Wbool-compare \ |
| @@ -125,6 +125,8 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)], | |||
| 125 | -Wbuiltin-declaration-mismatch \ | 125 | -Wbuiltin-declaration-mismatch \ |
| 126 | -Wbuiltin-macro-redefined \ | 126 | -Wbuiltin-macro-redefined \ |
| 127 | -Wcast-align \ | 127 | -Wcast-align \ |
| 128 | -Wcast-align=strict \ | ||
| 129 | -Wcast-function-type \ | ||
| 128 | -Wchar-subscripts \ | 130 | -Wchar-subscripts \ |
| 129 | -Wchkp \ | 131 | -Wchkp \ |
| 130 | -Wclobbered \ | 132 | -Wclobbered \ |
| @@ -160,6 +162,7 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)], | |||
| 160 | -Wframe-address \ | 162 | -Wframe-address \ |
| 161 | -Wfree-nonheap-object \ | 163 | -Wfree-nonheap-object \ |
| 162 | -Whsa \ | 164 | -Whsa \ |
| 165 | -Wif-not-aligned \ | ||
| 163 | -Wignored-attributes \ | 166 | -Wignored-attributes \ |
| 164 | -Wignored-qualifiers \ | 167 | -Wignored-qualifiers \ |
| 165 | -Wimplicit \ | 168 | -Wimplicit \ |
| @@ -181,6 +184,7 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)], | |||
| 181 | -Wmemset-elt-size \ | 184 | -Wmemset-elt-size \ |
| 182 | -Wmemset-transposed-args \ | 185 | -Wmemset-transposed-args \ |
| 183 | -Wmisleading-indentation \ | 186 | -Wmisleading-indentation \ |
| 187 | -Wmissing-attributes \ | ||
| 184 | -Wmissing-braces \ | 188 | -Wmissing-braces \ |
| 185 | -Wmissing-declarations \ | 189 | -Wmissing-declarations \ |
| 186 | -Wmissing-field-initializers \ | 190 | -Wmissing-field-initializers \ |
| @@ -188,6 +192,7 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)], | |||
| 188 | -Wmissing-parameter-type \ | 192 | -Wmissing-parameter-type \ |
| 189 | -Wmissing-prototypes \ | 193 | -Wmissing-prototypes \ |
| 190 | -Wmultichar \ | 194 | -Wmultichar \ |
| 195 | -Wmultistatement-macros \ | ||
| 191 | -Wnarrowing \ | 196 | -Wnarrowing \ |
| 192 | -Wnested-externs \ | 197 | -Wnested-externs \ |
| 193 | -Wnonnull \ | 198 | -Wnonnull \ |
| @@ -202,6 +207,7 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)], | |||
| 202 | -Woverride-init \ | 207 | -Woverride-init \ |
| 203 | -Wpacked \ | 208 | -Wpacked \ |
| 204 | -Wpacked-bitfield-compat \ | 209 | -Wpacked-bitfield-compat \ |
| 210 | -Wpacked-not-aligned \ | ||
| 205 | -Wparentheses \ | 211 | -Wparentheses \ |
| 206 | -Wpointer-arith \ | 212 | -Wpointer-arith \ |
| 207 | -Wpointer-compare \ | 213 | -Wpointer-compare \ |
| @@ -219,13 +225,17 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)], | |||
| 219 | -Wshift-count-overflow \ | 225 | -Wshift-count-overflow \ |
| 220 | -Wshift-negative-value \ | 226 | -Wshift-negative-value \ |
| 221 | -Wsizeof-array-argument \ | 227 | -Wsizeof-array-argument \ |
| 228 | -Wsizeof-pointer-div \ | ||
| 222 | -Wsizeof-pointer-memaccess \ | 229 | -Wsizeof-pointer-memaccess \ |
| 223 | -Wstack-protector \ | 230 | -Wstack-protector \ |
| 224 | -Wstrict-aliasing \ | 231 | -Wstrict-aliasing \ |
| 225 | -Wstrict-overflow \ | 232 | -Wstrict-overflow \ |
| 226 | -Wstrict-prototypes \ | 233 | -Wstrict-prototypes \ |
| 234 | -Wstringop-truncation \ | ||
| 235 | -Wsuggest-attribute=cold \ | ||
| 227 | -Wsuggest-attribute=const \ | 236 | -Wsuggest-attribute=const \ |
| 228 | -Wsuggest-attribute=format \ | 237 | -Wsuggest-attribute=format \ |
| 238 | -Wsuggest-attribute=malloc \ | ||
| 229 | -Wsuggest-attribute=noreturn \ | 239 | -Wsuggest-attribute=noreturn \ |
| 230 | -Wsuggest-attribute=pure \ | 240 | -Wsuggest-attribute=pure \ |
| 231 | -Wsuggest-final-methods \ | 241 | -Wsuggest-final-methods \ |