diff options
author | Richard Biener <rguenther@suse.de> | 2014-04-15 08:08:06 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-04-15 08:08:06 +0000 |
commit | 349e6210992cfb731e1df69c2651cce95b7a19e9 (patch) | |
tree | 1100533f89ad518b77d809dfdf586285776ec82b /gcc/tree.h | |
parent | 4f0ddb6ff600de6e152c6aaf3f4fb7698b84b558 (diff) | |
download | gcc-349e6210992cfb731e1df69c2651cce95b7a19e9.zip gcc-349e6210992cfb731e1df69c2651cce95b7a19e9.tar.gz gcc-349e6210992cfb731e1df69c2651cce95b7a19e9.tar.bz2 |
tree.c (iterative_hash_expr): Use enum tree_code_class to store TREE_CODE_CLASS.
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.
From-SVN: r209406
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4192,7 +4192,7 @@ static inline tree fold_build_pointer_plus_loc (location_t loc, tree ptr, tree off) { return fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (ptr), - ptr, fold_convert_loc (loc, sizetype, off)); + ptr, convert_to_ptrofftype_loc (loc, off)); } #define fold_build_pointer_plus(p,o) \ fold_build_pointer_plus_loc (UNKNOWN_LOCATION, p, o) |