summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/final.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a9254472c8e..94ddbe7c2fd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-12 Marek Polacek <polacek@redhat.com>
+
+ * final.c (update_alignments): Initialize label to NULL_RTX.
+
2013-11-12 Jeff Law <law@redhat.com>
* gimple-ssa-isolate-paths.c (check_loadstore): New function.
diff --git a/gcc/final.c b/gcc/final.c
index 39947329650..1a6320f5195 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -830,7 +830,7 @@ void
update_alignments (vec<rtx> &label_pairs)
{
unsigned int i = 0;
- rtx iter, label;
+ rtx iter, label = NULL_RTX;
if (max_labelno != max_label_num ())
grow_label_align ();