aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/v850
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2018-07-05 13:11:44 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2018-07-05 13:11:44 +0000
commit09cff37bfdcc9407a72262cbdd6fd3350488d934 (patch)
tree8a12aa4815a59efd810f5c77daa77152e9a589c1 /gcc/config/v850
parent6fc2658638727f52780fe35c1dfabca402fd9481 (diff)
downloadgcc-09cff37bfdcc9407a72262cbdd6fd3350488d934.zip
gcc-09cff37bfdcc9407a72262cbdd6fd3350488d934.tar.gz
gcc-09cff37bfdcc9407a72262cbdd6fd3350488d934.tar.bz2
Replace NO_IMPLICIT_EXTERN_C with SYSTEM_IMPLICIT_EXTERN_C.
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. From-SVN: r262437
Diffstat (limited to 'gcc/config/v850')
-rw-r--r--gcc/config/v850/v850.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h
index 04d226a..d3391a6 100644
--- a/gcc/config/v850/v850.h
+++ b/gcc/config/v850/v850.h
@@ -834,12 +834,6 @@ extern const char * GHS_current_section_names [(int) COUNT_OF_GHS_SECTION_KINDS]
#define TARGET_ASM_INIT_SECTIONS v850_asm_init_sections
-/* Define this so that the cc1plus will not think that system header files
- need an implicit 'extern "C" { ... }' assumed. This breaks testing C++
- in a build directory where the libstdc++ header files are found via a
- -isystem <path-to-build-dir>. */
-#define NO_IMPLICIT_EXTERN_C
-
#define ADJUST_INSN_LENGTH(INSN, LENGTH) \
((LENGTH) = v850_adjust_insn_length ((INSN), (LENGTH)))