Steven,

I think your patch broke bootstrapping with Graphite enabled.

Tobias

PS: Possible patch, I haven't checked whether "0" makes sense or something else should be used.

--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -675,3 +675,3 @@ print_pbb_body (FILE *file, poly_bb_p pbb, int verbosity,
   fprintf (file, "{\n");
-  dump_bb (pbb_bb (pbb), file, 0);
+  dump_bb (file, pbb_bb (pbb), 0, 0);
   fprintf (file, "}\n");



/projects/tob/gcc-git/gcc/gcc/graphite-poly.c: In function 'print_pbb_body':
/projects/tob/gcc-git/gcc/gcc/graphite-poly.c:676:3: warning: passing argument 1 of 'dump_bb' from incompatible pointer type [enabled by default]
   dump_bb (pbb_bb (pbb), file, 0);
   ^
In file included from /projects/tob/gcc-git/gcc/gcc/basic-block.h:832:0,
                 from /projects/tob/gcc-git/gcc/gcc/tree-flow.h:27,
                 from /projects/tob/gcc-git/gcc/gcc/graphite-poly.c:38:
/projects/tob/gcc-git/gcc/gcc/cfghooks.h:144:13: note: expected 'struct FILE *' but argument is of type 'basic_block'
 extern void dump_bb (FILE *, basic_block, int, int);
             ^
/projects/tob/gcc-git/gcc/gcc/graphite-poly.c:676:3: warning: passing argument 2 of 'dump_bb' from incompatible pointer type [enabled by default]
   dump_bb (pbb_bb (pbb), file, 0);
   ^
In file included from /projects/tob/gcc-git/gcc/gcc/basic-block.h:832:0,
                 from /projects/tob/gcc-git/gcc/gcc/tree-flow.h:27,
                 from /projects/tob/gcc-git/gcc/gcc/graphite-poly.c:38:
/projects/tob/gcc-git/gcc/gcc/cfghooks.h:144:13: note: expected 'basic_block' but argument is of type 'struct FILE *'
 extern void dump_bb (FILE *, basic_block, int, int);
             ^
/projects/tob/gcc-git/gcc/gcc/graphite-poly.c:676:3: error: too few arguments to function 'dump_bb'
   dump_bb (pbb_bb (pbb), file, 0);
   ^
In file included from /projects/tob/gcc-git/gcc/gcc/basic-block.h:832:0,
                 from /projects/tob/gcc-git/gcc/gcc/tree-flow.h:27,
                 from /projects/tob/gcc-git/gcc/gcc/graphite-poly.c:38:
/projects/tob/gcc-git/gcc/gcc/cfghooks.h:144:13: note: declared here
 extern void dump_bb (FILE *, basic_block, int, int);
             ^
make[3]: *** [graphite-poly.o] Error 1

Reply via email to