diff mbox

go front end changes to fix compilation break

Message ID 52829003.7020604@redhat.com
State New
Headers show

Commit Message

Andrew MacLeod Nov. 12, 2013, 8:30 p.m. UTC
Hey Ian,

   My latest set of changes (which I just checked in as revision204717)  
to restructuring the gimple include files breaks go.  It requires a 
minor change to the go front end in order for it to compile...

patch attached:

Andrew
diff mbox

Patch

2013-11-12  Andrew MacLeod  <amacleod@redhat.com>

	* go/gofrontend/expressions.cc: Include gimplify.h.
	* go/gofrontend/gogo-tree.cc: Likewise.
	* go/gofrontend/types.cc: Likewise.

Index: go/gofrontend/expressions.cc
===================================================================
*** go/gofrontend/expressions.cc	(revision 204716)
--- go/gofrontend/expressions.cc	(working copy)
***************
*** 12,17 ****
--- 12,18 ----
  #include "intl.h"
  #include "tree.h"
  #include "gimple.h"
+ #include "gimplify.h"
  #include "tree-iterator.h"
  #include "convert.h"
  #include "real.h"
Index: go/gofrontend/gogo-tree.cc
===================================================================
*** go/gofrontend/gogo-tree.cc	(revision 204716)
--- go/gofrontend/gogo-tree.cc	(working copy)
***************
*** 9,14 ****
--- 9,15 ----
  #include "toplev.h"
  #include "tree.h"
  #include "gimple.h"
+ #include "gimplify.h"
  #include "tree-iterator.h"
  #include "cgraph.h"
  #include "langhooks.h"
Index: go/gofrontend/types.cc
===================================================================
*** go/gofrontend/types.cc	(revision 204716)
--- go/gofrontend/types.cc	(working copy)
***************
*** 10,15 ****
--- 10,16 ----
  #include "intl.h"
  #include "tree.h"
  #include "gimple.h"
+ #include "gimplify.h"
  #include "real.h"
  #include "convert.h"