From c0f15a3f249fa7ec0a210e540c0d3af7f642ccfa Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 16 Dec 2014 23:30:22 +0100 Subject: [PATCH] * fibonacci_heap.h (min): Return m_data instead of non-existing data. From-SVN: r218797 --- gcc/ChangeLog | 4 ++++ gcc/fibonacci_heap.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index da100964804..54e7aa90a92 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-12-16 Jan Hubicka + + * fibonacci_heap.h (min): Return m_data instead of non-existing data. + 2014-12-16 Jan Hubicka * ipa-inline-analysis.c (will_be_nonconstant_predicate): Consider diff --git a/gcc/fibonacci_heap.h b/gcc/fibonacci_heap.h index 3fce3701737..5bbde26aef0 100644 --- a/gcc/fibonacci_heap.h +++ b/gcc/fibonacci_heap.h @@ -211,7 +211,7 @@ public: if (m_min == NULL) return NULL; - return m_min->data; + return m_min->m_data; } /* Replace data associated with NODE and replace it with DATA. */ -- 2.30.2