[PATCH][buildrobot] tilepro/tilegx: fallout after tree.h refactoring (was: Re-factor inclusion of tree.h)

Jan-Benedict Glaw jbglaw@lug-owl.de
Tue Oct 22 09:43:00 GMT 2013


On Mon, 2013-10-21 15:36:49 -0400, Diego Novillo <dnovillo@google.com> wrote:
> Can anyone think of some way that we can use to automatically block
> inclusions of tree.h from header files? Code review is the only way
> that comes to mind.

Grep once, then install a commit hook.

> Committed both patches to trunk.

I get some fallout for tilepro-linux, see
http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=21851 .

This fixes it:

2013-10-22  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* config/tilepro/tilepro.c: Include "tree.h".

diff --git a/gcc/config/tilepro/tilepro.c b/gcc/config/tilepro/tilepro.c
index 99ce5a0..12adda3 100644
--- a/gcc/config/tilepro/tilepro.c
+++ b/gcc/config/tilepro/tilepro.c
@@ -40,6 +40,7 @@
 #include "function.h"
 #include "dwarf2.h"
 #include "timevar.h"
+#include "tree.h"
 #include "gimple.h"
 #include "cfgloop.h"
 #include "tilepro-builtins.h"

Ok?

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of:         "really soon now":      an unspecified period of time, likly to
the second  :                                 be greater than any reasonable definition
                                              of "soon".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131022/ffd35c5c/attachment.sig>


More information about the Gcc-patches mailing list