summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-06 11:44:51 +0000
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-06 11:44:51 +0000
commit84e145d796737841be9070713a38379bbb8f9d73 (patch)
treed8671f623652f39c81225968e20596e123a83bf4 /gcc/function.c
parent8bf038d5a60ed5b944f9f42029294e7b0a1281ae (diff)
downloadgcc-84e145d796737841be9070713a38379bbb8f9d73.tar.gz
2011-10-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* function.c (thread_prologue_and_epilogue_insns): Mark last_bb_active as possibly unused. It is unused for targets which do neither have "return" nor "simple_return" expanders. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179601 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 6484916cef0..d13e9282dfb 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -5453,7 +5453,7 @@ thread_prologue_and_epilogue_insns (void)
{
bool inserted;
basic_block last_bb;
- bool last_bb_active;
+ bool last_bb_active ATTRIBUTE_UNUSED;
#ifdef HAVE_simple_return
bool unconverted_simple_returns = false;
basic_block simple_return_block_hot = NULL;