summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-26 00:19:11 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-26 00:19:11 +0000
commit45fc5243185e98347e2b7a40cbebb9c1c1b9aa50 (patch)
treedf6948f2ceb1ab54907e11ac95f2f12c9637d216 /config
parentc699f6a1302dba01be40528df9e16109bd6541ef (diff)
downloadlinaro-gcc-45fc5243185e98347e2b7a40cbebb9c1c1b9aa50.tar.gz
linaro-gcc-45fc5243185e98347e2b7a40cbebb9c1c1b9aa50.tar.bz2
linaro-gcc-45fc5243185e98347e2b7a40cbebb9c1c1b9aa50.zip
fix PR68343: disable fuse-*.c tests for isl 0.14 or earlier
The patch disables all fuse-*.c tests when configuring gcc with isl 0.14 or earlier. ChangeLog: * Makefile.in: Regenerate. * Makefile.tpl: Export ISLVER. * configure: Regenerate. * config/isl.m4: Detect isl-0.15. gcc/ * Makefile.in: Set ISLVER in site.exp. gcc/testsuite/ * gcc.dg/graphite/graphite.exp: Only run the fuse-*.c tests with isl-0.15. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232811 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r--config/isl.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/config/isl.m4 b/config/isl.m4
index 86ccb94abaf..0103f1f3362 100644
--- a/config/isl.m4
+++ b/config/isl.m4
@@ -117,6 +117,18 @@ AC_DEFUN([ISL_CHECK_VERSION],
AC_MSG_RESULT([recommended isl version is 0.15, minimum required isl version 0.14 is deprecated])
fi
+ AC_MSG_CHECKING([for isl-0.15])
+ AC_TRY_LINK([#include <isl/schedule.h>],
+ [isl_options_set_schedule_serialize_sccs (NULL, 0);],
+ [ac_has_isl_options_set_schedule_serialize_sccs=yes],
+ [ac_has_isl_options_set_schedule_serialize_sccs=no])
+ AC_MSG_RESULT($ac_has_isl_options_set_schedule_serialize_sccs)
+
+ if test x"$ac_has_isl_options_set_schedule_serialize_sccs" = x"yes"; then
+ islver="0.15"
+ AC_SUBST([islver])
+ fi
+
CFLAGS=$_isl_saved_CFLAGS
LDFLAGS=$_isl_saved_LDFLAGS
LIBS=$_isl_saved_LIBS