[PPL-devel] FW: patch for merging graphite branch (before tuplification)

David Edelsohn dje.gcc at gmail.com
Thu Aug 21 20:46:57 CEST 2008


Now on to Cloog bugs.

cloog/source/ppl/clast.c
cloog/source/ppl/domain.c
cloog/source/ppl/matrix.c

all include

#include "../../include/cloog/cloog.h"

which assumes compiling within the source directory.  The should use

#include "cloog/cloog.h" .

After fixing that, compilation fails with

/usr/gnu/src/cloog/source/ppl/domain.c:928: error:
'PPL_CONSTRAINT_TYPE_LESS_THAN_OR_EQUAL' undeclared (first use in this
function)
/usr/gnu/src/cloog/source/ppl/domain.c:936: error:
'PPL_CONSTRAINT_TYPE_GREATER_THAN_OR_EQUAL' undeclared (first use in
this function)
/usr/gnu/src/cloog/source/ppl/domain.c: In function 'changes_generators':
/usr/gnu/src/cloog/source/ppl/domain.c:1011: warning: implicit
declaration of function 'ppl_Polyhedron_minimized_generators'

ppl_c.h defines enum including PPL_CONSTRAINT_TYPE_LESS_OR_EQUAL and
PPL_CONSTRAINT_TYPE_GREATER_OR_EQUAL, but not the names used by Cloog.
 Also, ppl_c.h  declares ppl_Polyhedron_get_minimized_generators(),
but not the function referenced in Cloog.

David



More information about the PPL-devel mailing list