diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-10-13 12:18:25 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-10-13 12:18:25 +0000 |
commit | 7143b9d605ba68058774ffe1d45fa510287a5f66 (patch) | |
tree | 6103f3943ed2b02763d1e7a6b21a52e4187a4922 /gcc/tree.c | |
parent | 99758d1a4b602c95853f161003ecb5de0e425e98 (diff) | |
download | gcc-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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[] = |