From: Sandra Loosemore Date: Thu, 16 Jul 2015 03:30:31 +0000 (-0400) Subject: nios2.c (nios2_emit_stack_limit_check): Fix uninitialized-variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6885f12c73d525ad577fb5c2ae4a7c94ab53e31;p=gcc.git 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 --- 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) {