aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-05-15 14:51:24 +0200
committerMartin Liska <mliska@suse.cz>2020-10-22 10:06:06 +0200
commit5a99796b85c93fe9d61ee52fc3a38b8698709479 (patch)
treee651cd8b76a30ec463c31855993fe437a2bbe520 /gcc/cfgexpand.c
parentdf7f0a3a21418f8e06bb4710f09587e54225da93 (diff)
downloadgcc-5a99796b85c93fe9d61ee52fc3a38b8698709479.zip
gcc-5a99796b85c93fe9d61ee52fc3a38b8698709479.tar.gz
gcc-5a99796b85c93fe9d61ee52fc3a38b8698709479.tar.bz2
Come up with stack_protector enum.
gcc/ChangeLog: 2020-05-15 Martin Liska <mliska@suse.cz> * cfgexpand.c: Move the enum to ... * coretypes.h (enum stack_protector): ... here. * function.c (assign_parm_adjust_stack_rtl): Use the stack_protector enum. gcc/c-family/ChangeLog: 2020-05-15 Martin Liska <mliska@suse.cz> * c-cppbuiltin.c (c_cpp_builtins): Use the stack_protector enum.
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 1eaa1da..2ac9aef 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -1762,13 +1762,6 @@ clear_tree_used (tree block)
clear_tree_used (t);
}
-enum {
- SPCT_FLAG_DEFAULT = 1,
- SPCT_FLAG_ALL = 2,
- SPCT_FLAG_STRONG = 3,
- SPCT_FLAG_EXPLICIT = 4
-};
-
/* Examine TYPE and determine a bit mask of the following features. */
#define SPCT_HAS_LARGE_CHAR_ARRAY 1