On 11/13/14 13:10, mliska wrote:
gcc/ChangeLog:

2014-11-13  Martin Liska  <mli...@suse.cz>

        * ipa-inline.c (edge_badness): long is replaced by sreal
        as fibonacci_heap template type.
        (update_edge_key): Likewise.
        (inline_small_functions): Likewise.
        * sreal.h (inline sreal operator<<): New function added.
        (inline sreal operator>>): Likewise.
Remove include of fibheap.h if it's no longer needed.



@@ -1057,13 +1057,13 @@ edge_badness (struct cgraph_edge *edge, bool dump)

        /* Decrease badness if call is nested.  */
        if (badness > 0)
-       badness >>= nest;
+       badness = badness >> nest;
        else
        {
-         badness <<= nest;
+         badness = badness << nest;
OK. Here's the shifts I was asking about when I looked at the sreal changes :-)

OK if/when prerequisites are approved.

jeff

Reply via email to