summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-21 21:39:50 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-21 21:39:50 +0000
commitf5ceea15237f60ab6d0f10a66698a09c3c70d366 (patch)
tree42642bdb276722e3a9484c3b8aa08e1bb0178a90 /gcc
parentaec54bd6043883bc413302a4091b0aa908f9a42b (diff)
downloadgcc-f5ceea15237f60ab6d0f10a66698a09c3c70d366.tar.gz
* var-tracking.c (vt_initialize): Initialize post.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105771 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/var-tracking.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4b3b0680fe1..c28396662a6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-21 Janis Johnson <janis187@us.ibm.com>
+
+ * var-tracking.c (vt_initialize): Initialize post.
+
2005-10-21 Devang Patel <dpatel@apple.com>
PR/24220
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
index ba034f34b47..d69ca139c42 100644
--- a/gcc/var-tracking.c
+++ b/gcc/var-tracking.c
@@ -2516,7 +2516,7 @@ vt_initialize (void)
FOR_EACH_BB (bb)
{
rtx insn;
- HOST_WIDE_INT pre, post;
+ HOST_WIDE_INT pre, post = 0;
/* Count the number of micro operations. */
VTI (bb)->n_mos = 0;