This patch removes a couple more dependencies cgraph.h has.
The function address_can_be_compared_p makes reference to
flag_merge_constants which comes from options.h via tm.h. By moving it
to cgraph.c instead of inlining it in the header file, options.h and
thus tm.h is no longer needed.
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
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