tree-core.h (struct tree_optimization_option): Make opts a pointer to struct cl_optim...
authorAndrew MacLeod <amacleod@redhat.com>
Thu, 25 Jun 2015 17:03:33 +0000 (17:03 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Thu, 25 Jun 2015 17:03:33 +0000 (17:03 +0000)
commitfbf196a2560584a0c71b7c44e6354eac93721888
tree0ec323ad3253632e0ab13e7619c3a7de99413f1e
parent16a16ec7db0a5c626567b57ba49e09c4a5cccb76
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
gcc/ChangeLog
gcc/tree-core.h
gcc/tree.c
gcc/tree.h