aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeng Qi <gengqi@linux.alibaba.com>2021-04-30 21:03:33 +0800
committerXianmiao Qu <xianmiao_qu@c-sky.com>2021-05-26 14:36:39 +0800
commit4553b95516176d578aa6ce81499509f6ec099bdb (patch)
treee63b85e7ba8fa7e3a669eec251f8802aa887ca94
parent155d3038c23002581eb29d59ea23e44b3758c6dc (diff)
downloadgcc-4553b95516176d578aa6ce81499509f6ec099bdb.zip
gcc-4553b95516176d578aa6ce81499509f6ec099bdb.tar.gz
gcc-4553b95516176d578aa6ce81499509f6ec099bdb.tar.bz2
C-SKY: Delete definition TARGET_PROMOTE_PROTOTYPES, just use the default definition.
gcc/ChangeLog: * config/csky/csky.c (TARGET_PROMOTE_PROTOTYPES): Delete.
-rw-r--r--gcc/config/csky/csky.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/config/csky/csky.c b/gcc/config/csky/csky.c
index 7f2af82..2b44edf 100644
--- a/gcc/config/csky/csky.c
+++ b/gcc/config/csky/csky.c
@@ -512,9 +512,6 @@ csky_cpu_cpp_builtins (cpp_reader *pfile)
#undef TARGET_SPLIT_COMPLEX_ARG
#define TARGET_SPLIT_COMPLEX_ARG hook_bool_const_tree_true
-#undef TARGET_PROMOTE_PROTOTYPES
-#define TARGET_PROMOTE_PROTOTYPES hook_bool_const_tree_true
-
#undef TARGET_MUST_PASS_IN_STACK
#define TARGET_MUST_PASS_IN_STACK must_pass_in_stack_var_size