diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/nios2/nios2.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 603c5e3..4d93e26 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-07-16 Sandra Loosemore <sandra@codesourcery.com> + + * config/nios2/nios2.c (nios2_emit_stack_limit_check): Fix + uninitialized-variable warning. + 2015-07-16 Kaz Kojima <kkojima@gcc.gnu.org> PR target/65249 diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c index a780c51..0fb11ea 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) { |