From: Andreas Krebbel Date: Thu, 6 Oct 2011 11:44:51 +0000 (+0000) Subject: function.c (thread_prologue_and_epilogue_insns): Mark last_bb_active as possibly... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa7fd586c317945a2023d4fc8c59907a993dddf9;p=gcc.git function.c (thread_prologue_and_epilogue_insns): Mark last_bb_active as possibly unused. 2011-10-06 Andreas Krebbel * 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. From-SVN: r179601 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce0215de304..f8d41cc59c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-10-06 Andreas Krebbel + + * 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. + 2011-10-06 Richard Guenther * fold-const.c (fold_ternary_loc): Also fold non-constant 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;