This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] go front end changes to fix compilation break
- From: Ian Lance Taylor <iant at google dot com>
- To: Andrew MacLeod <amacleod at redhat dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "gofrontend-dev at googlegroups dot com" <gofrontend-dev at googlegroups dot com>
- Date: Tue, 12 Nov 2013 14:44:56 -0800
- Subject: Re: [patch] go front end changes to fix compilation break
- Authentication-results: sourceware.org; auth=none
- References: <52829003 dot 7020604 at redhat dot com>
On Tue, Nov 12, 2013 at 12:30 PM, Andrew MacLeod <amacleod@redhat.com> wrote:
>
> 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:
Thanks. Commited to mainline.
Ian
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"