aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2014-05-29 08:25:05 +0000
committerTom de Vries <vries@gcc.gnu.org>2014-05-29 08:25:05 +0000
commit4b29b96587118756cebe57e6a59f8cc6f48dea8b (patch)
treea6092b19500c622c29b8d4345c49313f27678c40 /gcc/final.c
parent726f0774e0e29b81529deac415a98af1d833a0a2 (diff)
downloadgcc-4b29b96587118756cebe57e6a59f8cc6f48dea8b.zip
gcc-4b29b96587118756cebe57e6a59f8cc6f48dea8b.tar.gz
gcc-4b29b96587118756cebe57e6a59f8cc6f48dea8b.tar.bz2
Fix bootstrap on powerpc64le-linux-gnu
2014-05-29 Tom de Vries <tom@codesourcery.com> * final.c (collect_fn_hard_reg_usage): Guard variable declaration with #ifdef STACK_REGS. From-SVN: r211047
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/final.c b/gcc/final.c
index a345fe7..c32e177 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -4750,7 +4750,9 @@ static void
collect_fn_hard_reg_usage (void)
{
rtx insn;
+#ifdef STACK_REGS
int i;
+#endif
struct cgraph_rtl_info *node;
/* ??? To be removed when all the ports have been fixed. */