* fibonacci_heap.h (min): Return m_data instead of non-existing data.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Dec 2014 22:30:22 +0000 (22:30 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Dec 2014 22:30:22 +0000 (22:30 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218797 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/fibonacci_heap.h

index da10096..54e7aa9 100644 (file)
@@ -1,5 +1,9 @@
 2014-12-16  Jan Hubicka  <hubicka@ucw.cz>
 
+       * fibonacci_heap.h (min): Return m_data instead of non-existing data.
+
+2014-12-16  Jan Hubicka  <hubicka@ucw.cz>
+
        * ipa-inline-analysis.c (will_be_nonconstant_predicate): Consider
        return values of const calls as constants.
        (estimate_function_body_sizes): Expect calls to have false predicates.
index 3fce370..5bbde26 100644 (file)
@@ -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.  */