diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 15 | ||||
-rw-r--r-- | gcc/doc/tm.texi.in | 15 | ||||
-rw-r--r-- | gcc/gcc.c | 11 | ||||
-rw-r--r-- | gcc/system.h | 3 |
5 files changed, 11 insertions, 42 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6e00d50..5b18c23 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2010-10-22 Joseph Myers <joseph@codesourcery.com> + + * gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION, + SWITCH_CURTAILS_COMPILATION): Remove. + * doc/tm.texi.in (SWITCH_CURTAILS_COMPILATION): Remove + documentation. + * doc/tm.texi: Regenerate. + * system.h (SWITCH_CURTAILS_COMPILATION): Poison. + 2010-10-22 Changpeng Fang <changpeng.fang@amd.com> * gcc/config/i386/bdver1.md: New file. diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index ca90d7d..dd319e1 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -126,21 +126,6 @@ should call @code{DEFAULT_WORD_SWITCH_TAKES_ARG} and then check for additional options. @end defmac -@defmac SWITCH_CURTAILS_COMPILATION (@var{char}) -A C expression which determines whether the option @option{-@var{char}} -stops compilation before the generation of an executable. The value is -boolean, nonzero if the option does stop an executable from being -generated, zero otherwise. - -By default, this macro is defined as -@code{DEFAULT_SWITCH_CURTAILS_COMPILATION}, which handles the standard -options properly. You need not define -@code{SWITCH_CURTAILS_COMPILATION} unless you wish to add additional -options which affect the generation of an executable. Any redefinition -should call @code{DEFAULT_SWITCH_CURTAILS_COMPILATION} and then check -for additional options. -@end defmac - @defmac TARGET_OPTION_TRANSLATE_TABLE If defined, a list of pairs of strings, the first of which is a potential command line target to the @file{gcc} driver program, and the diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index 5bb1d9a..a0855c0 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -126,21 +126,6 @@ should call @code{DEFAULT_WORD_SWITCH_TAKES_ARG} and then check for additional options. @end defmac -@defmac SWITCH_CURTAILS_COMPILATION (@var{char}) -A C expression which determines whether the option @option{-@var{char}} -stops compilation before the generation of an executable. The value is -boolean, nonzero if the option does stop an executable from being -generated, zero otherwise. - -By default, this macro is defined as -@code{DEFAULT_SWITCH_CURTAILS_COMPILATION}, which handles the standard -options properly. You need not define -@code{SWITCH_CURTAILS_COMPILATION} unless you wish to add additional -options which affect the generation of an executable. Any redefinition -should call @code{DEFAULT_SWITCH_CURTAILS_COMPILATION} and then check -for additional options. -@end defmac - @defmac TARGET_OPTION_TRANSLATE_TABLE If defined, a list of pairs of strings, the first of which is a potential command line target to the @file{gcc} driver program, and the @@ -859,17 +859,6 @@ struct user_specs static struct user_specs *user_specs_head, *user_specs_tail; -#ifdef HAVE_TARGET_EXECUTABLE_SUFFIX -/* This defines which switches stop a full compilation. */ -#define DEFAULT_SWITCH_CURTAILS_COMPILATION(CHAR) \ - ((CHAR) == 'c' || (CHAR) == 'S' || (CHAR) == 'E') - -#ifndef SWITCH_CURTAILS_COMPILATION -#define SWITCH_CURTAILS_COMPILATION(CHAR) \ - DEFAULT_SWITCH_CURTAILS_COMPILATION(CHAR) -#endif -#endif - /* Record the mapping from file suffixes for compilation specs. */ struct compiler diff --git a/gcc/system.h b/gcc/system.h index f67639c..7ca0c88 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -775,7 +775,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; ASM_OUTPUT_SHARED_LOCAL ASM_MAKE_LABEL_LINKONCE \ STACK_CHECK_PROBE_INTERVAL STACK_CHECK_PROBE_LOAD \ ORDER_REGS_FOR_LOCAL_ALLOC FUNCTION_OUTGOING_VALUE \ - ASM_DECLARE_CONSTANT_NAME MODIFY_TARGET_NAME SWITCHES_NEED_SPACES + ASM_DECLARE_CONSTANT_NAME MODIFY_TARGET_NAME SWITCHES_NEED_SPACES \ + SWITCH_CURTAILS_COMPILATION /* Hooks that are no longer used. */ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \ |