]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-core.h
tree-core.h (tree_target_option): Make opts field a pointer to a cl_target_option...
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 17 Jun 2015 17:55:26 +0000 (17:55 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Wed, 17 Jun 2015 17:55:26 +0000 (17:55 +0000)
commitf6e3667f976a0592eb156d948a9dfe240250778d
tree47ffd968873b970774f3d2d5fcd11f73725f8a54
parent21bdef94b1e8c178e932cb5b560726c2c8c00323
tree-core.h (tree_target_option): Make opts field a pointer to a cl_target_option instead of an instance of the...

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.

From-SVN: r224567
gcc/ChangeLog
gcc/tree-core.h
gcc/tree.c
gcc/tree.h