aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/fibonacci_heap.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index da10096..54e7aa9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/fibonacci_heap.h b/gcc/fibonacci_heap.h
index 3fce370..5bbde26 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. */