On 10/28/13 13:38, Andrew MacLeod wrote:
I noticed there were a few .h files which we including tree-core.h
themselves.   expr.h was one of them, and many of the rtl files used
that to get at  the basic tree structure for various bits.

I moved the include of tree-core.h to rtl.h instead.  That way all the
rtl files get it, and when we flatten the rtl.h includes into the c
files, it'll be reduced to just the ones that need it. Eventually, those
things that need it from rtl.h won't even need tree-code.h, they'll get
converted to the new gimple interface instead.

streamer-hooks.h was including tree-core.h as well, but really only
streamer-hooks.c needed location_t from input.h, so I included that
instead from there.

Now only tree.h and rtl.h are including tree-core.h, which is more
appropriate.

bootstrapping and regressions running on x86_64-unknown-linux-gnu..
assuming no issues, OK?
OK.
jeff

Reply via email to