From: Martin Liska Date: Wed, 23 Oct 2019 11:29:10 +0000 (+0200) Subject: Initialize a field in fibonacci_node. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d509fb6686cf55c8a7ff8297ad9d75a719d8fa6;p=gcc.git Initialize a field in fibonacci_node. 2019-10-23 Martin Liska PR middle-end/81669 * fibonacci_heap.h (fibonacci_node::fibonacci_node): Initialize m_data. From-SVN: r277313 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2253b9985e..958c9ae3802 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-10-23 Martin Liska + + PR middle-end/81669 + * fibonacci_heap.h (fibonacci_node::fibonacci_node): + Initialize m_data. + 2019-10-23 Richard Sandiford * config/aarch64/aarch64.c (aarch64_emit_approx_sqrt): Use diff --git a/gcc/fibonacci_heap.h b/gcc/fibonacci_heap.h index 3bd0a9f8af1..2ff26270048 100644 --- a/gcc/fibonacci_heap.h +++ b/gcc/fibonacci_heap.h @@ -56,7 +56,7 @@ class fibonacci_node public: /* Default constructor. */ fibonacci_node (): m_parent (NULL), m_child (NULL), m_left (this), - m_right (this), m_degree (0), m_mark (0) + m_right (this), m_data (NULL), m_degree (0), m_mark (0) { }