summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-24 21:14:23 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-24 21:14:23 +0000
commit286887d98b1c495cf08cb0596e3340c3f919daa3 (patch)
treed9ad13e41304b4457841b86acf1cfd467db37b8a /gcc/function.c
parent75f488d09fee833e2f856c7342e5e3347c1667de (diff)
downloadgcc-286887d98b1c495cf08cb0596e3340c3f919daa3.tar.gz
Fix bootstrap at -O3.
2010-05-24 Sebastian Pop <sebastian.pop@amd.com> * function.c (assign_stack_local_1): Initialize variable to avoid warning when bootstrapping at -O3. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159797 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 5d0e7e5c954..2c87dec9ee8 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -367,7 +367,7 @@ assign_stack_local_1 (enum machine_mode mode, HOST_WIDE_INT size,
{
rtx x, addr;
int bigend_correction = 0;
- HOST_WIDE_INT slot_offset, old_frame_offset;
+ HOST_WIDE_INT slot_offset = 0, old_frame_offset;
unsigned int alignment, alignment_in_bits;
if (align == 0)