2017-06-17 Andrew MacLeod <amacleod@redhat.com>
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jun 2015 17:55:26 +0000 (17:55 +0000)
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jun 2015 17:55:26 +0000 (17:55 +0000)
commit4a875e1f1d7dca1f03cc71a8234862aaf03e5d18
tree47ffd968873b970774f3d2d5fcd11f73725f8a54
parentdebb6aabb771ed02cb7256a7719555e5fbd7d3f7
2017-06-17  Andrew MacLeod  <amacleod@redhat.com>

* tree-core.h (tree_target_option): Make opts field a pointer to a
cl_target_option instead of an instance of the struct.
* tree.h (TREE_TARGET_OPTION): Return the pointer, not an address of
the structure.
* tree.c (make_node_stat ): Allocate a cl_target_option struct for
TARGET_OPTION_NODE.
(copy_node_stat): Allocate and copy struct cl_target_option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224567 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-core.h
gcc/tree.c
gcc/tree.h