This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Remove target.h and alloc-pool.h from lto-streamer.h.


On 07/09/2015 05:47 AM, Andrew MacLeod wrote:
target.h and alloc-pool.h are not required by any of the streamer header
files to compile, so I flattened those 2 includes from lto-streamer.h.
plugin-api.h, gcov-io.h and diagnostic.h are all required to parse
lto-streamer.h, so I left those in the file.

I then ran the include reducer on all of the files which were affected
by by the flattening (there were 38). I had it only consider the
affected files : target.h, alloc-pool.h and lto-streamer.h.
Only 22 of the 38 files now show any change, and in many of those cases
it was removing lto-streamer.h itself that was the end result :-)  So
its a much cleaner patch now :-)

Bootstraps on x86_64-unknown-linux-gnu with no new regressions.
OK for trunk?
OK.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]