From 8d509fb6686cf55c8a7ff8297ad9d75a719d8fa6 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 23 Oct 2019 13:29:10 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/fibonacci_heap.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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) { } -- 2.30.2