Whole program optimization and functions-only-called-once.

Tim Prince n8tm@aol.com
Sun Nov 15 20:01:00 GMT 2009


Toon Moene wrote:
> Richard Guenther wrote:
> 
>> On Sun, Nov 15, 2009 at 8:07 AM, Toon Moene <toon@moene.org> wrote:
> 
>>> Steven Bosscher wrote:
> 
>>>> At least CPROP, LCM-PRE, and HOIST (i.e. all passes in gcse.c), and
>>>> variable tracking.
> 
>>> Are they covered by a --param ?  At least that way I could teach them 
>>> to go
>>> on indefinitely ...
> 
>> I think most of them are.  Maybe we should diagnose the cases where
>> we hit these limits.
> 
> That would be a good idea.  One other compiler I work with frequently 
> (the Intel Fortran compiler) does just that.  However, either it doesn't 
> have or their marketing department doesn't want you to know about knobs 
> to tweak these decisions :-)
> 
Both gfortran and ifort have a much longer list of adjustable limits on 
in-lining than most customers are willing to study or test.



More information about the Gcc mailing list