diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/sanopt.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7554f80..ac76f2a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2014-11-04 Marek Polacek <polacek@redhat.com> + * sanopt.c (sanopt_optimize_walker): Remove unused variables. + +2014-11-04 Marek Polacek <polacek@redhat.com> + * Makefile.in (OBJS): Add sanopt.o. (GTFILES): Add sanopt.c. * asan.h (asan_expand_check_ifn): Declare. diff --git a/gcc/sanopt.c b/gcc/sanopt.c index f1d51d1..4483ff7 100644 --- a/gcc/sanopt.c +++ b/gcc/sanopt.c @@ -117,9 +117,6 @@ sanopt_optimize_walker (basic_block bb, struct sanopt_ctx *ctx) for this pointer. Perhaps we can drop this one. But only if this check doesn't specify stricter alignment. */ - int i; - gimple g; - while (!v.is_empty ()) { gimple g = v.last (); |