Compilation of 8.2.0 breaks in gcc/graphite-isl-ast-to-gimple.c .../graphite-isl-ast-to-gimple.c:83:7: error: 'isl_id_free' was not declared in this scope .../graphite-isl-ast-to-gimple.c:262:3: error: 'isl_id_free' was not declared in this scope .../graphite-isl-ast-to-gimple.c:598:5: error: 'isl_id_free' was not declared in this scope .../graphite-isl-ast-to-gimple.c:638:53: error: 'isl_id_get_user' was not declared in this scope .../graphite-isl-ast-to-gimple.c:641:7: error: 'isl_id_free' was not declared in this scope .../graphite-isl-ast-to-gimple.c:802:31: error: 'isl_id_get_user' was not declared in this scope .../graphite-isl-ast-to-gimple.c:808:3: error: 'isl_id_free' was not declared in this scope .../graphite-isl-ast-to-gimple.c:1367:19: error: 'isl_space_dim' was not declared in this scope .../graphite-isl-ast-to-gimple.c:1371:3: error: 'isl_space_free' was not declared in this scope .../graphite-isl-ast-to-gimple.c:1372:16: error: 'isl_id_alloc' was not declared in this scope In isl 0.19, other isl header files already included by gcc/graphite.h included the isl header file id.h and space.h. In 0.20 this is no longer the case. Proposed patch: --- .../gcc/graphite.h 2018-01-03 11:03:58.000000000 +0000 +++ .../gcc/graphite.h 2018-07-29 17:42:55.836121000 +0000 @@ -37,6 +37,8 @@ #include <isl/schedule.h> #include <isl/ast_build.h> #include <isl/schedule_node.h> +#include <isl/id.h> +#include <isl/space.h> typedef struct poly_dr *poly_dr_p; Regards, Rainer
For the sake of completeness, I think the following isl change removed the implicit include chain that made the code work before isl 0.20: http://repo.or.cz/isl.git/commitdiff/406f2e9e067adb901c45284c65bfdc32e29a1383 Before several already included isl header files included isl/local_space.h which itself included the needed isl/space.h which in turn included the needed isl/id.h. After the change, isl/local_space.h no longer includes space.h.
I'll see to fix this.
Author: rguenth Date: Wed Aug 1 07:21:08 2018 New Revision: 263193 URL: https://gcc.gnu.org/viewcvs?rev=263193&root=gcc&view=rev Log: 2018-08-01 Richard Biener <rguenther@suse.de> PR bootstrap/86724 * graphite.h: Include isl/id.h and isl/space.h to allow build with ISL 0.20. Modified: trunk/gcc/ChangeLog trunk/gcc/graphite.h
Author: rguenth Date: Wed Aug 1 08:06:20 2018 New Revision: 263194 URL: https://gcc.gnu.org/viewcvs?rev=263194&root=gcc&view=rev Log: 2018-08-01 Richard Biener <rguenther@suse.de> PR bootstrap/86724 * graphite.h: Include isl/id.h and isl/space.h to allow build with ISL 0.20. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/graphite.h
Author: rguenth Date: Wed Aug 1 08:07:16 2018 New Revision: 263195 URL: https://gcc.gnu.org/viewcvs?rev=263195&root=gcc&view=rev Log: 2018-08-01 Richard Biener <rguenther@suse.de> PR bootstrap/86724 * graphite.h: Include isl/id.h and isl/space.h to allow build with ISL 0.20. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/graphite.h
Fixed for GCC 7.4+.
*** Bug 86890 has been marked as a duplicate of this bug. ***
Author: doko Date: Tue Aug 14 15:15:39 2018 New Revision: 263539 URL: https://gcc.gnu.org/viewcvs?rev=263539&root=gcc&view=rev Log: 2018-08-14 Matthias Klose <doko@ubuntu.com> Backport from mainline 2018-08-01 Richard Biener <rguenther@suse.de> PR bootstrap/86724 * graphite.h: Include isl/id.h and isl/space.h to allow build with ISL 0.20. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/graphite.h