Patchwork [2/3] Fix include order to avoid failed compilation on CLOOG_ORG.

login
register
mail settings
Submitter Andreas Simbürger
Date Aug. 11, 2010, 6:30 p.m.
Message ID <1281551412-9101-3-git-send-email-simbuerg@googlemail.com>
Download mbox | patch
Permalink /patch/61499/
State New
Headers show

Comments

Andreas Simbürger - Aug. 11, 2010, 6:30 p.m.
2010-08-11  Andreas Simbuerger  <simbuerg@fim.uni-passau.de>

	* graphite-poly.c: Change include order.
---
 gcc/ChangeLog.graphite |    4 ++++
 gcc/graphite-poly.c    |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
Sebastian Pop - Aug. 11, 2010, 8:53 p.m.
On Wed, Aug 11, 2010 at 13:30, Andreas Simbürger
<simbuerg@googlemail.com> wrote:
> 2010-08-11  Andreas Simbuerger  <simbuerg@fim.uni-passau.de>
>
>        * graphite-poly.c: Change include order.

Committed to the graphite branch.

Patch

diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index 486cd37..54c33ef 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -1,5 +1,9 @@ 
 2010-08-11  Andreas Simbuerger  <simbuerg@fim.uni-passau.de>
 
+	* graphite-poly.c: Change include order.
+
+2010-08-11  Andreas Simbuerger  <simbuerg@fim.uni-passau.de>
+
 	* graphite-cloog-compat.h (cloog_matrix_ncolumns): New.
 	(cloog_matrix_nrows): New.
 
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c
index c1ac69e..24911d6 100644
--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -44,7 +44,6 @@  along with GCC; see the file COPYING3.  If not see
 #include "pointer-set.h"
 #include "gimple.h"
 #include "params.h"
-#include "graphite-cloog-util.h"
 
 #ifdef HAVE_cloog
 #include "ppl_c.h"
@@ -53,6 +52,7 @@  along with GCC; see the file COPYING3.  If not see
 #include "graphite.h"
 #include "graphite-poly.h"
 #include "graphite-dependences.h"
+#include "graphite-cloog-util.h"
 
 /* Return the maximal loop depth in SCOP.  */