diff options
author | Tom de Vries <tom@codesourcery.com> | 2014-05-29 08:25:05 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2014-05-29 08:25:05 +0000 |
commit | 4b29b96587118756cebe57e6a59f8cc6f48dea8b (patch) | |
tree | a6092b19500c622c29b8d4345c49313f27678c40 /gcc | |
parent | 726f0774e0e29b81529deac415a98af1d833a0a2 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/final.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2343f8d..764249c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-05-29 Tom de Vries <tom@codesourcery.com> + + * final.c (collect_fn_hard_reg_usage): Guard variable declaration + with #ifdef STACK_REGS. + 2014-05-28 Jan Hubicka <hubicka@ucw.cz> * varasm.c (get_variable_section): Walk aliases. 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. */ |