Re: [patch 4/4] Remove options.h/tm.h and function.h as dependencies and include compile time prerequisites in cgraph.h

2015-06-25 Thread Jeff Law
On 06/25/2015 07:27 AM, Andrew MacLeod wrote: ipa_opt_pass is given a forward declaration in function.h, but it really consumed by cgraph.h By moving that forward declaration to cgraph, it no longer requires function.h to be in the include path. It actually defined in tree-pass.h, the the

Re: [patch 4/4] Remove options.h/tm.h and function.h as dependencies and include compile time prerequisites in cgraph.h

2015-06-25 Thread Andrew MacLeod
On 06/25/2015 12:22 PM, Jeff Law wrote: On 06/25/2015 07:27 AM, Andrew MacLeod wrote: ipa_opt_pass is given a forward declaration in function.h, but it really consumed by cgraph.h By moving that forward declaration to cgraph, it no longer requires function.h to be in the include path. It