mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 15:01:17 +08:00
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:
parent
3a7cd43867
commit
1635d7b012
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user