diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2010-07-13 10:41:15 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2010-07-13 10:41:15 +0000 |
commit | 535b951fb62e9835cce515a59f94bf1956fc587a (patch) | |
tree | 3a5b3e906bd47435e0a953fd1b5a864811c5637c /gcc/mode-switching.c | |
parent | 6d06590db7d87474cc9ff2b685743af067e72628 (diff) |
re PR target/44761 (sh.md warnings)
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.
From-SVN: r162135
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--) |