function.c (thread_prologue_and_epilogue_insns): Mark last_bb_active as possibly...
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Thu, 6 Oct 2011 11:44:51 +0000 (11:44 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Thu, 6 Oct 2011 11:44:51 +0000 (11:44 +0000)
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.

From-SVN: r179601

gcc/ChangeLog
gcc/function.c

index ce0215de3048be4cb81e33554bae91910fed8100..f8d41cc59c760a940e1a9a3cd556bc3454c69288 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2011-10-06  Richard Guenther  <rguenther@suse.de>
 
        * fold-const.c (fold_ternary_loc): Also fold non-constant
index 6484916cef0e5950b800e5b306167953ccdba233..d13e9282dfb4e6890848f31d065d1c30753ecad7 100644 (file)
@@ -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;