diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-04-15 08:08:06 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-04-15 08:08:06 +0000 |
commit | 235620e56e4fd809c0e3e87f3d28f7e4eee9a0e0 (patch) | |
tree | 1100533f89ad518b77d809dfdf586285776ec82b /gcc/tree.c | |
parent | d78cc47bdeb8c456740b0566d83a1d97a70a63a0 (diff) | |
download | gcc-235620e56e4fd809c0e3e87f3d28f7e4eee9a0e0.tar.gz |
2014-04-15 Richard Biener <rguenther@suse.de>
* tree.c (iterative_hash_expr): Use enum tree_code_class
to store TREE_CODE_CLASS.
(tree_block): Likewise.
(tree_set_block): Likewise.
* tree.h (fold_build_pointer_plus_loc): Use
convert_to_ptrofftype_loc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209406 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index f42a0b7d889..d829faaddb9 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -7387,7 +7387,7 @@ iterative_hash_expr (const_tree t, hashval_t val) { int i; enum tree_code code; - char tclass; + enum tree_code_class tclass; if (t == NULL_TREE) return iterative_hash_hashval_t (0, val); @@ -11224,7 +11224,7 @@ walk_tree_without_duplicates_1 (tree *tp, walk_tree_fn func, void *data, tree tree_block (tree t) { - char const c = TREE_CODE_CLASS (TREE_CODE (t)); + const enum tree_code_class c = TREE_CODE_CLASS (TREE_CODE (t)); if (IS_EXPR_CODE_CLASS (c)) return LOCATION_BLOCK (t->exp.locus); @@ -11235,7 +11235,7 @@ tree_block (tree t) void tree_set_block (tree t, tree b) { - char const c = TREE_CODE_CLASS (TREE_CODE (t)); + const enum tree_code_class c = TREE_CODE_CLASS (TREE_CODE (t)); if (IS_EXPR_CODE_CLASS (c)) { |