Commit f76649a6 by Richard Biener Committed by Richard Biener

ipa-inline.c (big_speedup_p): Fix expression.

2018-01-02  Richard Biener  <rguenther@suse.de>

	* ipa-inline.c (big_speedup_p): Fix expression.

From-SVN: r256072
parent 5344af27
......@@ -691,7 +691,7 @@ big_speedup_p (struct cgraph_edge *e)
sreal time = compute_uninlined_call_time (e, unspec_time);
sreal inlined_time = compute_inlined_call_time (e, spec_time);
if (time - inlined_time * 100
if ((time - inlined_time) * 100
> (sreal) (time * PARAM_VALUE (PARAM_INLINE_MIN_SPEEDUP)))
return true;
return false;
......
2018-01-02 Richard Biener <rguenther@suse.de>
* ipa-inline.c (big_speedup_p): Fix expression.
2018-01-01 Paul Thomas <pault@gcc.gnu.org>
PR fortran/83076
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment