[Bug tree-optimization/66117] New: GCC can not compile when graphite is enabled, due to missing isl headers.

2015-05-11 Thread pbeeler80 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66117

Bug ID: 66117
   Summary: GCC can not compile when graphite is enabled, due to
missing isl headers.
   Product: gcc
   Version: 6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: pbeeler80 at gmail dot com
  Target Milestone: ---

The full log is attached
The errors in short:
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:398:43: error: ‘isl_constraint’
has not been declared
 extern void print_isl_constraint (FILE *, isl_constraint *);
   ^
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:402:35: error: variable or
field ‘debug_isl_constraint’ declared void
 extern void debug_isl_constraint (isl_constraint *);
   ^
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:402:35: error: ‘isl_constraint’
was not declared in this scope
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:402:51: error: expected
primary-expression before ‘)’ token
 extern void debug_isl_constraint (isl_constraint *);
   ^
Makefile:1065: recipe for target 'graphite.o' failed
make[3]: *** [graphite.o] Error 1
x86_64-linux-gnu-g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE 
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-fno-common  -DHAVE_CONFIG_H -I. -I. -I../.././../gcc/gcc-SaberMod/gcc
-I../.././../gcc/gcc-SaberMod/gcc/.
-I../.././../gcc/gcc-SaberMod/gcc/../include
-I../.././../gcc/gcc-SaberMod/gcc/../libcpp/include
-I/tmp/sm-tc/build/temp-install/include -I/tmp/sm-tc/build/temp-install/include
-I/tmp/sm-tc/build/temp-install/include 
-I../.././../gcc/gcc-SaberMod/gcc/../libdecnumber
-I../.././../gcc/gcc-SaberMod/gcc/../libdecnumber/dpd -I../libdecnumber
-I../.././../gcc/gcc-SaberMod/gcc/../libbacktrace
-I/tmp/sm-tc/build/temp-install/include  -o graphite-isl-ast-to-gimple.o -MT
graphite-isl-ast-to-gimple.o -MMD -MP -MF
./.deps/graphite-isl-ast-to-gimple.TPo
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c
In file included from
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c:79:0:
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:398:43: error: ‘isl_constraint’
has not been declared
 extern void print_isl_constraint (FILE *, isl_constraint *);
   ^
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:402:35: error: variable or
field ‘debug_isl_constraint’ declared void
 extern void debug_isl_constraint (isl_constraint *);
   ^
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:402:35: error: ‘isl_constraint’
was not declared in this scope
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:402:51: error: expected
primary-expression before ‘)’ token
 extern void debug_isl_constraint (isl_constraint *);
   ^
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c: In function
‘isl_union_set* generate_luj_sepclass(scop_p)’:
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c:882:70: error:
‘isl_union_set_empty’ was not declared in this scope
   domain_isl = isl_union_set_empty (isl_set_get_space (scop->context));
  ^
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c:900:70: error:
‘isl_union_set_from_set’ was not declared in this scope
  isl_union_set_union (domain_isl, isl_union_set_from_set (bb_domain_s));
  ^
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c:900:71: error:
‘isl_union_set_union’ was not declared in this scope
  isl_union_set_union (domain_isl, isl_union_set_from_set (bb_domain_s));
   ^
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c: In function
‘isl_ast_build* set_options(isl_ast_build*, isl_union_map*, isl_union_map*)’:
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c:990:59: error:
‘isl_union_set_from_set’ was not declared in this scope
 isl_union_set_from_set (isl_set_universe (range_space));  
   ^
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c:992:42: error:
‘isl_union_set_universe’ was not declared in this scope
   domain = isl_union_set_universe (domain);
  ^
Makefile:1065: recipe for target 'graphite-isl-ast-to-gimple.o' failed
make[3]: *** [graphite-isl-ast-to-gimple.o] Error 1
x86_64-linux-gnu-g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STR

[Bug tree-optimization/66117] GCC can not compile when graphite is enabled, due to missing isl headers.

2015-05-11 Thread pbeeler80 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66117

--- Comment #1 from Paul Beeler  ---
Here is the gcc source:
https://github.com/SaberMod/GCC_SaberMod/tree/6.0.0
Also this patch seems to fix the issue:
https://github.com/SaberMod/GCC_SaberMod/commit/635b86c35d539bf229e4d4652fc67afe632589a4


[Bug tree-optimization/66117] GCC can not compile when graphite is enabled, due to missing isl headers.

2015-05-11 Thread pbeeler80 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66117

--- Comment #2 from Paul Beeler  ---
A second shot at a patch:
Included HAVE_isl in gcc/graphite-poly.h
Other files that include "graphite-poly.h" will have isl_constraint functions
defined.
https://github.com/SaberMod/GCC_SaberMod/commit/3494aee764bb64948d6cd2f2c430cfc8e69ba078


[Bug tree-optimization/66117] GCC can not compile when graphite is enabled, due to missing isl headers.

2015-05-11 Thread pbeeler80 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66117

--- Comment #3 from Paul Beeler  ---
Final patch will work to be the most minimal for changes and HAVE_isl
https://github.com/SaberMod/GCC_SaberMod/commit/114e4e9470260a839d55aad2421fb646af12697b


[Bug tree-optimization/66117] GCC can not compile when graphite is enabled, due to missing isl headers.

2015-10-13 Thread pbeeler80 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66117

--- Comment #5 from Paul Beeler  ---
It is from isl master (0.15).  This was 5 months ago, and I've been using my
own patch authored by me fine since then.  I will continue to use it and not
the recently merged one thanks.