diff options
author | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2011-10-06 11:44:51 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2011-10-06 11:44:51 +0000 |
commit | fa7fd586c317945a2023d4fc8c59907a993dddf9 (patch) | |
tree | d8671f623652f39c81225968e20596e123a83bf4 /gcc | |
parent | 2a86de57e16b2d2bb294dd1c07c2cab5ca3f95e2 (diff) | |
download | gcc-fa7fd586c317945a2023d4fc8c59907a993dddf9.zip gcc-fa7fd586c317945a2023d4fc8c59907a993dddf9.tar.gz gcc-fa7fd586c317945a2023d4fc8c59907a993dddf9.tar.bz2 |
function.c (thread_prologue_and_epilogue_insns): Mark last_bb_active as possibly unused.
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/function.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce0215d..f8d41cc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/function.c b/gcc/function.c index 6484916..d13e928 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; |