summaryrefslogtreecommitdiff
path: root/gcc/config/nios2
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2015-07-15 23:30:31 -0400
committerSandra Loosemore <sandra@gcc.gnu.org>2015-07-15 23:30:31 -0400
commita6885f12c73d525ad577fb5c2ae4a7c94ab53e31 (patch)
treeda8784e8b0f8a8fac01a65aad4afbea6f0bd9ffb /gcc/config/nios2
parentfdc2ce3fb07e41720d2083ba39892bb08c3d5e7a (diff)
downloadgcc-a6885f12c73d525ad577fb5c2ae4a7c94ab53e31.tar.gz
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/config/nios2')
-rw-r--r--gcc/config/nios2/nios2.c2
1 files changed, 1 insertions, 1 deletions
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)
{