From 168ae4436d9edbf9a44916c41ebb2322edb0ce1d Mon Sep 17 00:00:00 2001 From: kkojima Date: Tue, 13 Jul 2010 10:41:15 +0000 Subject: 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 --- gcc/mode-switching.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/mode-switching.c') 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--) -- cgit v1.2.1