gcc/
commit8c422d602fd45b5cbfe08fa8e66c4150ec1f1373
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Jul 2018 13:11:44 +0000 (5 13:11 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Jul 2018 13:11:44 +0000 (5 13:11 +0000)
tree8a12aa4815a59efd810f5c77daa77152e9a589c1
parente2038e033a393423eca8655fb6675a564bb9c4c9
gcc/
Replace NO_IMPLICIT_EXTERN_C with SYSTEM_IMPLICIT_EXTERN_C.
* doc/cpp.texi: Update comment.
* doc/tm.texi: Rebuilt.
* doc/tm.texi.in (NO_IMPLICIT_EXTERN_C): Replace with ...
(SYSTEM_IMPLICIT_EXTERN_C): ... this, opposite sense.
* doc/extend.texi (Backwards Compatibility): Clarify it is system
headers affected by extern "C".
* system.h: Poison NO_IMPLICIT_EXTERN_C.
* config/alpha/alpha.h, config/arm/uclinux-elf.h,
config/bfin/elf.h, config/cris/cris.h, config/darwin.h,
config/dragonfly.h, config/freebsd.h, config/gnu-user.h,
config/i386/cygming.h, config/i386/djgpp.h, config/i386/nto.h,
config/ia64/hpux.h, config/lm32/lm32.h, config/lm32/uclinux-elf.h,
config/lynx.h, config/mips/elf.h, config/mmix/mmix.h,
config/netbsd.h, config/pa/pa-hpux.h, config/powerpcspe/sysv4.h,
config/riscv/elf.h, config/rs6000/sysv4.h, config/rtems.h,
config/s390/tpf.h, config/sh/newlib.h, config/sol2.h,
config/sparc/openbsd64.h, config/sparc/sp-elf.h,
config/sparc/sp64-elf.h, config/spu/spu.h,
config/stormy16/stormy16.h, config/v850/v850.h,
config/visium/visium.h, config/vx-common.h, config/xtensa/elf.h: Don't
define NO_IMPLICIT_EXTERN_C.
* config/rs6000/aix.h: Set SYSTEM_IMPLICIT_EXTERN_C.

gcc/c-family/
* c-lex.c (fe_file_change): Check SYSTEM_IMPLICIT_EXTERN_C not
NO_IMPLICIT_EXTERN_C.

gcc/cp/
* cp/decl.c (decls_match): Check SYSTEM_IMPLICIT_EXTERN_C not
NO_IMPLICIT_EXTERN_C.
* cp/parser.c (cp_parser_parameter_declaration_clause): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262437 138bc75d-0d04-0410-961f-82ee72b054a4
47 files changed:
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-lex.c
gcc/config/alpha/alpha.h
gcc/config/arm/uclinux-elf.h
gcc/config/bfin/elf.h
gcc/config/cris/cris.h
gcc/config/darwin.h
gcc/config/dragonfly.h
gcc/config/freebsd.h
gcc/config/gnu-user.h
gcc/config/i386/cygming.h
gcc/config/i386/djgpp.h
gcc/config/i386/nto.h
gcc/config/ia64/hpux.h
gcc/config/lm32/lm32.h
gcc/config/lm32/uclinux-elf.h
gcc/config/lynx.h
gcc/config/mips/elf.h
gcc/config/mmix/mmix.h
gcc/config/netbsd.h
gcc/config/pa/pa-hpux.h
gcc/config/powerpcspe/sysv4.h
gcc/config/riscv/elf.h
gcc/config/rs6000/aix.h
gcc/config/rs6000/sysv4.h
gcc/config/rtems.h
gcc/config/s390/tpf.h
gcc/config/sh/newlib.h
gcc/config/sol2.h
gcc/config/sparc/openbsd64.h
gcc/config/sparc/sp-elf.h
gcc/config/sparc/sp64-elf.h
gcc/config/spu/spu.h
gcc/config/stormy16/stormy16.h
gcc/config/v850/v850.h
gcc/config/visium/visium.h
gcc/config/vx-common.h
gcc/config/xtensa/elf.h
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/parser.c
gcc/doc/cpp.texi
gcc/doc/extend.texi
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/system.h