diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 353e988945eb..e89ff2915910 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-09-30 Sebastian Pop + + * graphite-dependences.c (dot_deps): Avoid set but not used warning. + (dot_deps_stmt): Same. + * graphite-poly.c (dot_lst): Same. + 2010-09-30 Sebastian Pop * graphite-blocking.c (scop_do_strip_mine): Do not call diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index f94fc6efae3e..78655a2a558a 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,3 +1,9 @@ +2010-08-24 Sebastian Pop + + * graphite-dependences.c (dot_deps): Avoid set but not used warning. + (dot_deps_stmt): Same. + * graphite-poly.c (dot_lst): Same. + 2010-08-23 Sebastian Pop * graphite-blocking.c (scop_do_strip_mine): Do not call diff --git a/gcc/graphite-dependences.c b/gcc/graphite-dependences.c index 8c7a642a7ea7..4f167fbdcb4a 100644 --- a/gcc/graphite-dependences.c +++ b/gcc/graphite-dependences.c @@ -956,14 +956,13 @@ dot_deps (scop_p scop) /* When debugging, enable the following code. This cannot be used in production compilers because it calls "system". */ #if 0 - int x; FILE *stream = fopen ("/tmp/scopdeps.dot", "w"); gcc_assert (stream); dot_deps_1 (stream, scop); fclose (stream); - x = system ("dotty /tmp/scopdeps.dot &"); + system ("dotty /tmp/scopdeps.dot &"); #else dot_deps_1 (stderr, scop); #endif @@ -977,14 +976,13 @@ dot_deps_stmt (scop_p scop) /* When debugging, enable the following code. This cannot be used in production compilers because it calls "system". */ #if 0 - int x; FILE *stream = fopen ("/tmp/scopdeps.dot", "w"); gcc_assert (stream); dot_deps_stmt_1 (stream, scop); fclose (stream); - x = system ("dotty /tmp/scopdeps.dot &"); + system ("dotty /tmp/scopdeps.dot &"); #else dot_deps_stmt_1 (stderr, scop); #endif diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c index 27215e139886..8af16dea17e8 100644 --- a/gcc/graphite-poly.c +++ b/gcc/graphite-poly.c @@ -1855,7 +1855,6 @@ dot_lst (lst_p lst) /* When debugging, enable the following code. This cannot be used in production compilers because it calls "system". */ #if 0 - int x; FILE *stream = fopen ("/tmp/lst.dot", "w"); gcc_assert (stream); @@ -1864,7 +1863,7 @@ dot_lst (lst_p lst) fputs ("}\n\n", stream); fclose (stream); - x = system ("dotty /tmp/lst.dot &"); + system ("dotty /tmp/lst.dot &"); #else fputs ("digraph all {\n", stderr); dot_lst_1 (stderr, lst);