diff options
author | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-13 10:41:15 +0000 |
---|---|---|
committer | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-13 10:41:15 +0000 |
commit | 168ae4436d9edbf9a44916c41ebb2322edb0ce1d (patch) | |
tree | 3a5b3e906bd47435e0a953fd1b5a864811c5637c /gcc/mode-switching.c | |
parent | 36c8af334e1b1e115f9d9a949f0b56f82ce29b7f (diff) | |
download | gcc-168ae4436d9edbf9a44916c41ebb2322edb0ce1d.tar.gz |
PR target/44761
* mode-switching.c (optimize_mode_switching): Add ATTRIBUTE_UNUSED
to variable emited.
* config/sh/sh.c (sh_expand_epilogue): Remove unused variable.
* config/sh/sh.md (symGOT_load): Likewise.
(symDTPOFF2reg): Likewise.
(symTPOFF2reg): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162135 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mode-switching.c')
-rw-r--r-- | gcc/mode-switching.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c index c0db7c4d367..306fb5d4c25 100644 --- a/gcc/mode-switching.c +++ b/gcc/mode-switching.c @@ -1,6 +1,6 @@ /* CPU mode switching Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, - 2009 Free Software Foundation, Inc. + 2009, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -445,7 +445,7 @@ optimize_mode_switching (void) int i, j; int n_entities; int max_num_modes = 0; - bool emited = false; + bool emited ATTRIBUTE_UNUSED = false; basic_block post_entry ATTRIBUTE_UNUSED, pre_exit ATTRIBUTE_UNUSED; for (e = N_ENTITIES - 1, n_entities = 0; e >= 0; e--) |