diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-12 14:20:22 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-12 14:20:22 +0000 |
commit | 95b2e0d363a0f078a9f37c6f2f33f620eee2aa99 (patch) | |
tree | 04c4c30bbc52aeb49fe77f4f526d7e73f9b851e1 /gcc/graphite-poly.c | |
parent | 675d86b2a33c6783fd1c21ae44d47b4fee9e95ea (diff) | |
download | gcc-95b2e0d363a0f078a9f37c6f2f33f620eee2aa99.tar.gz |
Correctly parenthesize pretty print structures.
2009-08-05 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (print_pbb): Add parentheses in the pretty print.
(print_scop): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150685 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-poly.c')
-rw-r--r-- | gcc/graphite-poly.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c index 2df04af6018..6d24cbd52f1 100644 --- a/gcc/graphite-poly.c +++ b/gcc/graphite-poly.c @@ -547,11 +547,13 @@ debug_pdrs (poly_bb_p pbb) void print_pbb (FILE *file, poly_bb_p pbb) { + fprintf (file, "pbb (\n"); dump_gbb_conditions (file, PBB_BLACK_BOX (pbb)); dump_gbb_cases (file, PBB_BLACK_BOX (pbb)); print_pdrs (file, pbb); print_pbb_domain (file, pbb); print_scattering_function (file, pbb); + fprintf (file, ")\n"); } /* Print to FILE the parameters of SCOP. */ @@ -600,11 +602,14 @@ print_scop (FILE *file, scop_p scop) int i; poly_bb_p pbb; + fprintf (file, "scop (\n"); print_scop_params (file, scop); print_scop_context (file, scop); for (i = 0; VEC_iterate (poly_bb_p, SCOP_BBS (scop), i, pbb); i++) print_pbb (file, pbb); + + fprintf (file, ")\n"); } /* Print to STDERR the domain of PBB. */ |