diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2002-04-01 05:08:51 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2002-04-01 05:08:51 +0000 |
commit | d875078437f3e2a604d702281b742b591bfbe7d0 (patch) | |
tree | e383909e50691324aab4ef591c778d38b3231595 /gcc/ggc.h | |
parent | d544bc3983fbc512ee03566672751c07f71e1323 (diff) | |
download | gcc-d875078437f3e2a604d702281b742b591bfbe7d0.zip gcc-d875078437f3e2a604d702281b742b591bfbe7d0.tar.gz gcc-d875078437f3e2a604d702281b742b591bfbe7d0.tar.bz2 |
varray.h (VARRAY_CHECK): Const-ify.
* varray.h (VARRAY_CHECK): Const-ify.
* ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
ggc_mark_rtvec, ggc_mark): Const-ify.
From-SVN: r51677
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r-- | gcc/ggc.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -88,35 +88,35 @@ extern void ggc_mark_rtvec_children PARAMS ((struct rtvec_def *)); #define ggc_mark_rtx(EXPR) \ do { \ - rtx r__ = (EXPR); \ + rtx const r__ = (EXPR); \ if (ggc_test_and_set_mark (r__)) \ ggc_mark_rtx_children (r__); \ } while (0) #define ggc_mark_tree(EXPR) \ do { \ - tree t__ = (EXPR); \ + tree const t__ = (EXPR); \ if (ggc_test_and_set_mark (t__)) \ VARRAY_PUSH_TREE (ggc_pending_trees, t__); \ } while (0) #define ggc_mark_nonnull_tree(EXPR) \ do { \ - tree t__ = (EXPR); \ + tree const t__ = (EXPR); \ if (! ggc_set_mark (t__)) \ VARRAY_PUSH_TREE (ggc_pending_trees, t__); \ } while (0) #define ggc_mark_rtvec(EXPR) \ do { \ - rtvec v__ = (EXPR); \ + rtvec const v__ = (EXPR); \ if (ggc_test_and_set_mark (v__)) \ ggc_mark_rtvec_children (v__); \ } while (0) #define ggc_mark(EXPR) \ do { \ - const void *a__ = (EXPR); \ + const void *const a__ = (EXPR); \ if (a__ != NULL) \ ggc_set_mark (a__); \ } while (0) |