Re: [patch 3/5] Remove options.h dependency from tree-core.h

2015-06-17 Thread Richard Biener
On Tue, Jun 16, 2015 at 7:20 PM, Andrew MacLeod wrote: > tree-core.h won't compile without seeing options.h (which is usually brought > in by tm.h) because a TARGET_OPTION node contains an instance of struct > cl_target_option, defined thru options.h. > > Its fairly straightforward to change it s

[patch 3/5] Remove options.h dependency from tree-core.h

2015-06-16 Thread Andrew MacLeod
tree-core.h won't compile without seeing options.h (which is usually brought in by tm.h) because a TARGET_OPTION node contains an instance of struct cl_target_option, defined thru options.h. Its fairly straightforward to change it so the tree node simply contains a pointer to one of these st