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 | |
| 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.
| -rwxr-xr-x | build-aux/config.sub | 12 | ||||
| -rw-r--r-- | m4/manywarnings.m4 | 20 |
2 files changed, 23 insertions, 9 deletions
diff --git a/build-aux/config.sub b/build-aux/config.sub index 9ccf09a7a33..ba37cf99e26 100755 --- a/build-aux/config.sub +++ b/build-aux/config.sub | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | # Configuration validation subroutine script. | 2 | # Configuration validation subroutine script. |
| 3 | # Copyright 1992-2018 Free Software Foundation, Inc. | 3 | # Copyright 1992-2018 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | timestamp='2018-03-08' | 5 | timestamp='2018-04-24' |
| 6 | 6 | ||
| 7 | # This file is free software; you can redistribute it and/or modify it | 7 | # This file is free software; you can redistribute it and/or modify it |
| 8 | # under the terms of the GNU General Public License as published by | 8 | # under the terms of the GNU General Public License as published by |
| @@ -249,12 +249,12 @@ case $basic_machine in | |||
| 249 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | 249 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
| 250 | | am33_2.0 \ | 250 | | am33_2.0 \ |
| 251 | | arc | arceb \ | 251 | | arc | arceb \ |
| 252 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | 252 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv6m | armv[78][arm] \ |
| 253 | | avr | avr32 \ | 253 | | avr | avr32 \ |
| 254 | | ba \ | 254 | | ba \ |
| 255 | | be32 | be64 \ | 255 | | be32 | be64 \ |
| 256 | | bfin \ | 256 | | bfin \ |
| 257 | | c4x | c8051 | clipper \ | 257 | | c4x | c8051 | clipper | csky \ |
| 258 | | d10v | d30v | dlx | dsp16xx \ | 258 | | d10v | d30v | dlx | dsp16xx \ |
| 259 | | e2k | epiphany \ | 259 | | e2k | epiphany \ |
| 260 | | fido | fr30 | frv | ft32 \ | 260 | | fido | fr30 | frv | ft32 \ |
| @@ -335,6 +335,10 @@ case $basic_machine in | |||
| 335 | ;; | 335 | ;; |
| 336 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) | 336 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) |
| 337 | ;; | 337 | ;; |
| 338 | m9s12z | m68hcs12z | hcs12z | s12z) | ||
| 339 | basic_machine=s12z-unknown | ||
| 340 | os=-none | ||
| 341 | ;; | ||
| 338 | ms1) | 342 | ms1) |
| 339 | basic_machine=mt-unknown | 343 | basic_machine=mt-unknown |
| 340 | ;; | 344 | ;; |
| @@ -378,7 +382,7 @@ case $basic_machine in | |||
| 378 | | be32-* | be64-* \ | 382 | | be32-* | be64-* \ |
| 379 | | bfin-* | bs2000-* \ | 383 | | bfin-* | bs2000-* \ |
| 380 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ | 384 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
| 381 | | c8051-* | clipper-* | craynv-* | cydra-* \ | 385 | | c8051-* | clipper-* | craynv-* | csky-* | cydra-* \ |
| 382 | | d10v-* | d30v-* | dlx-* \ | 386 | | d10v-* | d30v-* | dlx-* \ |
| 383 | | e2k-* | elxsi-* \ | 387 | | e2k-* | elxsi-* \ |
| 384 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | 388 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
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 \ |