]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix bootstrap at -O3.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 May 2010 21:14:23 +0000 (21:14 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 May 2010 21:14:23 +0000 (21:14 +0000)
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

gcc/ChangeLog
gcc/function.c

index 2ca56d1907326f8f33ba6d1e38497fbec37ec5b9..dc126560621b375d59e008fc8923314e9bfbbc8e 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-24  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * function.c (assign_stack_local_1): Initialize variable
+       to avoid warning when bootstrapping at -O3.
+
 2010-05-24  Steven Bosscher  <steven@gcc.gnu.org>
 
        * configure.ac (all_lang_makefiles): Remove everything related to it.
index 5d0e7e5c9543de5e06a947a5205dfe5dd03c908b..2c87dec9ee8752165c3be2cc637c88c6f0b40ba7 100644 (file)
@@ -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)