diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2015-07-15 23:30:31 -0400 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2015-07-15 23:30:31 -0400 |
commit | a6885f12c73d525ad577fb5c2ae4a7c94ab53e31 (patch) | |
tree | da8784e8b0f8a8fac01a65aad4afbea6f0bd9ffb /gcc | |
parent | fdc2ce3fb07e41720d2083ba39892bb08c3d5e7a (diff) | |
download | gcc-a6885f12c73d525ad577fb5c2ae4a7c94ab53e31.zip gcc-a6885f12c73d525ad577fb5c2ae4a7c94ab53e31.tar.gz gcc-a6885f12c73d525ad577fb5c2ae4a7c94ab53e31.tar.bz2 |
nios2.c (nios2_emit_stack_limit_check): Fix uninitialized-variable warning.
2015-07-16 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* config/nios2/nios2.c (nios2_emit_stack_limit_check): Fix
uninitialized-variable warning.
From-SVN: r225857
Diffstat (limited to 'gcc')
-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) { |