From a6885f12c73d525ad577fb5c2ae4a7c94ab53e31 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Wed, 15 Jul 2015 23:30:31 -0400 Subject: [PATCH] nios2.c (nios2_emit_stack_limit_check): Fix uninitialized-variable warning. 2015-07-16 Sandra Loosemore gcc/ * config/nios2/nios2.c (nios2_emit_stack_limit_check): Fix uninitialized-variable warning. From-SVN: r225857 --- gcc/ChangeLog | 5 +++++ gcc/config/nios2/nios2.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 603c5e3a1e4..4d93e26a158 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-07-16 Sandra Loosemore + + * config/nios2/nios2.c (nios2_emit_stack_limit_check): Fix + uninitialized-variable warning. + 2015-07-16 Kaz Kojima PR target/65249 diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c index a780c512060..0fb11ea968c 100644 --- a/gcc/config/nios2/nios2.c +++ b/gcc/config/nios2/nios2.c @@ -563,7 +563,7 @@ nios2_create_cfa_notes (rtx_insn *insn, bool epilogue_p) static void nios2_emit_stack_limit_check (int size) { - rtx sum; + rtx sum = NULL_RTX; if (GET_CODE (stack_limit_rtx) == SYMBOL_REF) { -- 2.30.2