From 02663f24a578d0ada1aa44220f545b4e0fe09c29 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Mon, 9 Jul 2012 12:40:51 +0000 Subject: [PATCH] re PR bootstrap/53898 (bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit) 2012-07-09 Richard Guenther PR bootstrap/53898 * graphite-optimize-isl.c: Make sure CU is not empty. From-SVN: r189374 --- gcc/ChangeLog | 5 +++++ gcc/graphite-optimize-isl.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 96d4cf2d5d9..7a61eb6baab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-07-09 Richard Guenther + + PR bootstrap/53898 + * graphite-optimize-isl.c: Make sure CU is not empty. + 2012-07-09 Steven Bosscher * 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 45c33063f57..59e60578cb6 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 #include #include +#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 * -- 2.30.2