aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2015-06-25 17:03:33 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2015-06-25 17:03:33 +0000
commitfbf196a2560584a0c71b7c44e6354eac93721888 (patch)
tree0ec323ad3253632e0ab13e7619c3a7de99413f1e /gcc/tree.h
parent16a16ec7db0a5c626567b57ba49e09c4a5cccb76 (diff)
downloadgcc-fbf196a2560584a0c71b7c44e6354eac93721888.zip
gcc-fbf196a2560584a0c71b7c44e6354eac93721888.tar.gz
gcc-fbf196a2560584a0c71b7c44e6354eac93721888.tar.bz2
tree-core.h (struct tree_optimization_option): Make opts a pointer to struct cl_optimization.
2015-06-25 Andrew MacLeod <amacleod@redhat.com> * tree-core.h (struct tree_optimization_option): Make opts a pointer to struct cl_optimization. * tree.h (TREE_OPTIMIZATION): Return the pointer, not the address of it. * tree.c (make_node_stat): Allocate cl_optimization struct. (copy_node_stat): Allocate and copy cl_optimization struct. From-SVN: r224952
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 34b9368..e9f0d73 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2827,7 +2827,7 @@ extern vec<tree, va_gc> **decl_debug_args_insert (tree);
(STATEMENT_LIST_CHECK (NODE)->stmt_list.tail)
#define TREE_OPTIMIZATION(NODE) \
- (&OPTIMIZATION_NODE_CHECK (NODE)->optimization.opts)
+ (OPTIMIZATION_NODE_CHECK (NODE)->optimization.opts)
#define TREE_OPTIMIZATION_OPTABS(NODE) \
(OPTIMIZATION_NODE_CHECK (NODE)->optimization.optabs)