aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-09-22 19:23:20 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-09-22 19:23:20 +0000
commitc219e1da0aa012d25860b2fbe651d5e6c5b1f74d (patch)
treede93cfb0e906c2e489661d1488858c505399696c /gcc/c-common.c
parent490ed84645eec878d19fa33886894d3579566011 (diff)
downloadgcc-c219e1da0aa012d25860b2fbe651d5e6c5b1f74d.zip
gcc-c219e1da0aa012d25860b2fbe651d5e6c5b1f74d.tar.gz
gcc-c219e1da0aa012d25860b2fbe651d5e6c5b1f74d.tar.bz2
c-common.c (preprocessing_trad_p): Define.
* c-common.c (preprocessing_trad_p): Define. * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete. (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define. * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define. * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define. * pa-linux.h (CPP_PREDEFINES): Delete. (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define. * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete. * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete. (TARGET_OS_CPP_BUILTINS): Define. * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define. (TARGET_SWITCHES): Reformat. Use N_() macro. Add SUBTARGET_SWITCHES. (SUBTARGET_SWITCHES): Provide default definition. (TARGET_OPTIONS): Reformat. Use N_() macro. (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete. (TARGET_CPU_CPP_BUILTINS): Define. (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems. * doc/invoke.texi (msio, mwsio): Document new hppa options. * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro preprocessing_trad_p(). From-SVN: r57416
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 62458d6..c85c23c 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -5007,6 +5007,7 @@ cb_register_builtins (pfile)
/* A straightforward target hook doesn't work, because of problems
linking that hook's body when part of non-C front ends. */
# define preprocessing_asm_p() (cpp_get_options (pfile)->lang == CLK_ASM)
+# define preprocessing_trad_p() (cpp_get_options (pfile)->traditional)
# define builtin_define(TXT) cpp_define (pfile, TXT)
# define builtin_assert(TXT) cpp_assert (pfile, TXT)
TARGET_CPU_CPP_BUILTINS ();