OSDN Git Service

2009-10-15 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2009 05:09:07 +0000 (05:09 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2009 05:09:07 +0000 (05:09 +0000)
* graphite-poly.c (print_scop): Fix pretty printing of a SCoP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154592 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog.graphite
gcc/graphite-poly.c

index 34ac260..defc111 100644 (file)
@@ -1,5 +1,9 @@
 2009-10-15  Sebastian Pop  <sebastian.pop@amd.com>
 
+       * graphite-poly.c (print_scop): Fix pretty printing of a SCoP.
+
+2009-10-15  Sebastian Pop  <sebastian.pop@amd.com>
+
        * doc/passes.texi: Document the Graphite infrastructure.
 
 2009-10-15  Sebastian Pop  <sebastian.pop@amd.com>
index 543a193..8d75fd4 100644 (file)
@@ -646,8 +646,6 @@ print_scop (FILE *file, scop_p scop)
   for (i = 0; VEC_iterate (poly_bb_p, SCOP_BBS (scop), i, pbb); i++)
     print_pbb (file, pbb);
 
-  fprintf (file, ")\n");
-
   fprintf (file, "original_lst (\n");
   print_lst (file, SCOP_ORIGINAL_SCHEDULE (scop), 0);
   fprintf (file, ")\n");
@@ -655,6 +653,8 @@ print_scop (FILE *file, scop_p scop)
   fprintf (file, "transformed_lst (\n");
   print_lst (file, SCOP_TRANSFORMED_SCHEDULE (scop), 0);
   fprintf (file, ")\n");
+
+  fprintf (file, ")\n");
 }
 
 /* Print to STDERR the domain of PBB.  */