aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-10-13 12:18:25 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-10-13 12:18:25 +0000
commit7143b9d605ba68058774ffe1d45fa510287a5f66 (patch)
tree6103f3943ed2b02763d1e7a6b21a52e4187a4922 /gcc/tree.c
parent99758d1a4b602c95853f161003ecb5de0e425e98 (diff)
downloadgcc-7143b9d605ba68058774ffe1d45fa510287a5f66.zip
gcc-7143b9d605ba68058774ffe1d45fa510287a5f66.tar.gz
gcc-7143b9d605ba68058774ffe1d45fa510287a5f66.tar.bz2
[PATCH] Tree structure marking
https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00846.html * tree-core.h (tree_contains_struct): Make bool. * tree.c (tree_contains_struct): Likewise. * tree.h (MARK_TS_BASE): Remove do ... while (0) idiom. (MARK_TS_TYPED, MARK_TS_COMMON, MARK_TS_TYPE_COMMON, MARK_TS_TYPE_WITH_LANG_SPECIFIC, MARK_TS_DECL_MINIMAL, MARK_TS_DECL_COMMON, MARK_TS_DECL_WRTL, MARK_TS_DECL_WITH_VIS, MARK_TS_DECL_NON_COMMON): Likewise, use comma operator. From-SVN: r253723
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 8acbdf7..5662f28 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -259,7 +259,7 @@ tree integer_types[itk_none];
bool int_n_enabled_p[NUM_INT_N_ENTS];
struct int_n_trees_t int_n_trees [NUM_INT_N_ENTS];
-unsigned char tree_contains_struct[MAX_TREE_CODES][64];
+bool tree_contains_struct[MAX_TREE_CODES][64];
/* Number of operands for each OpenMP clause. */
unsigned const char omp_clause_num_ops[] =