diff options
author | Aditya Kumar <aditya.k7@samsung.com> | 2016-01-26 00:19:11 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2016-01-26 00:19:11 +0000 |
commit | 1e050c90812529ced914e94ef584d3774b66a360 (patch) | |
tree | df6948f2ceb1ab54907e11ac95f2f12c9637d216 /config | |
parent | c8ee4bf5937dfcd06ba71dd3df22038cd64d384e (diff) | |
download | gcc-1e050c90812529ced914e94ef584d3774b66a360.tar.gz |
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.
Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
From-SVN: r232811
Diffstat (limited to 'config')
-rw-r--r-- | config/isl.m4 | 12 |
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 |