This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New badness metric for inliner


From: Jan Hubicka <hubicka@ucw.cz>
Date: Tue, 6 Nov 2012 19:21:46 +0100

> The problem here is really that MAX_TIME * MAX_FREQ do not fit into 32bit integer. Fixed thus.
> 
> 	* ipa-inline.c (compute_uninlined_call_time): Return gcov_type.
> 	(compute_inlined_call_time): Watch overflows.
> 	(relative_time_benefit): Compute in gcov_type.

Thanks Jan, I'll test this right now.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]