Avoid set but not used warning.

2010-08-24  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (dot_deps): Avoid set but not used warning.
	(dot_deps_stmt): Same.
	* graphite-poly.c (dot_lst): Same.

From-SVN: r164794
This commit is contained in:
Sebastian Pop 2010-09-30 21:19:26 +00:00 committed by Sebastian Pop
parent 3a7cd43867
commit 1635d7b012
4 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2010-09-30 Sebastian Pop <sebastian.pop@amd.com>
* 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 <sebastian.pop@amd.com>
* graphite-blocking.c (scop_do_strip_mine): Do not call

View File

@ -1,3 +1,9 @@
2010-08-24 Sebastian Pop <sebastian.pop@amd.com>
* 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 <sebastian.pop@amd.com>
* graphite-blocking.c (scop_do_strip_mine): Do not call

View File

@ -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

View File

@ -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);