This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [committed] speed up GC for fortran


Andrew Pinski <pinskia@physics.uc.edu> writes:

> This is the patch which should/will speed up GC for the fortran
> front-end,

Have you actually timed it?

When I created chain_next in the first place, I found that the
compiler went slower, not faster.  It's there to avoid excessive stack
use, not for speed.

> corresponding code has been in the other front-ends for a long time.  It
> also should get rid of some of the large function call overhead for the
> GC in the fortran front-end.  This also should fix the ICE which Paul
> was seeing when compiling one of the SPEC benchmark at -O1.
> 
> Committed as pre-approved by Steven B.
> 
> Thanks,
> Andrew Pinski
> 
> ChangeLog:
> 
> 	* f95-lang.c (lang_tree_node): Add chain_next to be the TREE_CHAIN.


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