diff options
Diffstat (limited to 'gcc/target.h')
-rw-r--r-- | gcc/target.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/target.h b/gcc/target.h index a79f424..ffc4d6a 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -52,21 +52,21 @@ #include "tm.h" #include "hard-reg-set.h" -#ifdef ENABLE_CHECKING +#if CHECKING_P struct cumulative_args_t { void *magic; void *p; }; -#else /* !ENABLE_CHECKING */ +#else /* !CHECKING_P */ /* When using a GCC build compiler, we could use __attribute__((transparent_union)) to get cumulative_args_t function arguments passed like scalars where the ABI would mandate a less efficient way of argument passing otherwise. However, that would come - at the cost of less type-safe !ENABLE_CHECKING compilation. */ + at the cost of less type-safe !CHECKING_P compilation. */ union cumulative_args_t { void *p; }; -#endif /* !ENABLE_CHECKING */ +#endif /* !CHECKING_P */ /* Types used by the record_gcc_switches() target function. */ enum print_switch_type @@ -200,9 +200,9 @@ extern struct gcc_target targetm; static inline CUMULATIVE_ARGS * get_cumulative_args (cumulative_args_t arg) { -#ifdef ENABLE_CHECKING +#if CHECKING_P gcc_assert (arg.magic == CUMULATIVE_ARGS_MAGIC); -#endif /* ENABLE_CHECKING */ +#endif /* CHECKING_P */ return (CUMULATIVE_ARGS *) arg.p; } @@ -211,9 +211,9 @@ pack_cumulative_args (CUMULATIVE_ARGS *arg) { cumulative_args_t ret; -#ifdef ENABLE_CHECKING +#if CHECKING_P ret.magic = CUMULATIVE_ARGS_MAGIC; -#endif /* ENABLE_CHECKING */ +#endif /* CHECKING_P */ ret.p = (void *) arg; return ret; } |