aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-07-09 12:40:51 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-07-09 12:40:51 +0000
commit02663f24a578d0ada1aa44220f545b4e0fe09c29 (patch)
treea483f6deac7c02f8df1b285dc73dcb4d52baacd3
parent5ede5aa54eb41267399a109b86e3a0fd873f7583 (diff)
downloadgcc-02663f24a578d0ada1aa44220f545b4e0fe09c29.zip
gcc-02663f24a578d0ada1aa44220f545b4e0fe09c29.tar.gz
gcc-02663f24a578d0ada1aa44220f545b4e0fe09c29.tar.bz2
re PR bootstrap/53898 (bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit)
2012-07-09 Richard Guenther <rguenther@suse.de> PR bootstrap/53898 * graphite-optimize-isl.c: Make sure CU is not empty. From-SVN: r189374
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/graphite-optimize-isl.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 96d4cf2..7a61eb6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-09 Richard Guenther <rguenther@suse.de>
+
+ PR bootstrap/53898
+ * graphite-optimize-isl.c: Make sure CU is not empty.
+
2012-07-09 Steven Bosscher <steven@gcc.gnu.org>
* gensupport.c (init_rtx_reader_args_cb): Start counting code
diff --git a/gcc/graphite-optimize-isl.c b/gcc/graphite-optimize-isl.c
index 45c3306..59e6057 100644
--- a/gcc/graphite-optimize-isl.c
+++ b/gcc/graphite-optimize-isl.c
@@ -28,6 +28,7 @@ along with GCC; see the file COPYING3. If not see
#include <isl/band.h>
#include <isl/aff.h>
#include <isl/options.h>
+#endif
#include "system.h"
#include "coretypes.h"
@@ -39,6 +40,7 @@ along with GCC; see the file COPYING3. If not see
#include "tree-scalar-evolution.h"
#include "sese.h"
+#ifdef HAVE_cloog
#include "graphite-poly.h"
static isl_union_set *