[PATCH] Remove unused #include "vec.h" from hash-table.h

Bernhard Reutner-Fischer rep.dot.nop@gmail.com
Tue Sep 24 05:44:00 GMT 2019


On Mon, 23 Sep 2019 14:52:19 -0500
"Christian Biesinger via gcc-patches" <gcc-patches@gcc.gnu.org> wrote:

> From: Christian Biesinger <cbiesinger@chromium.org>
> 
> Removes an unused include as a cleanup. Requires updating
> lots of files who previously relied on this transitive include.

Note that we have a tool to help prune unused includes, somewhere.
It's usually run late in stage1, not sure when we did that last time
though..
> 
> I have only been able to test this on x86_64 because I failed
> at building a cross compiler.

contrib/config-list.mk is supposed help verify this. I suggest to read the top 2 comment blocks.

you'll probably send up with something along the lines of
make -f ../../gcc-trunk/contrib/config-list.mk \
  GCC_SRC_DIR=your-abs-path-to-gcc \
  host_options='your stuff here'

HTH,



More information about the Gcc-patches mailing list