Re: [patch 5/5] Remove function.h dependency on hard-reg-set.

2015-06-17 Thread Richard Biener
On Tue, Jun 16, 2015 at 7:21 PM, Andrew MacLeod wrote: > function.h defines struct rtl_data which is used for generating rtl. In > particular, it defines an instance 'crtl' which for generating rtl appears > analagous to cfun for gimple and trees. > > That is the only reason function.h requires ha

[patch 5/5] Remove function.h dependency on hard-reg-set.

2015-06-16 Thread Andrew MacLeod
function.h defines struct rtl_data which is used for generating rtl. In particular, it defines an instance 'crtl' which for generating rtl appears analagous to cfun for gimple and trees. That is the only reason function.h requires hard-reg-set.h. I tried a lot of variations.. like moving it i