Date: Tue, 22 Jul 2003 08:51:39 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Bosko Milekic <bmilekic@technokratis.com> Cc: Bruce Evans <bde@zeta.org.au> Subject: Re: cvs commit: src/sys/kern init_main.c kern_malloc.c md5c.c subr_autoconf.c subr_mbuf.c subr_prf.c tty_subr.c vfs_cluster.c vfs_subr.c Message-ID: <20030722155139.GA39123@troutmask.apl.washington.edu> In-Reply-To: <20030722112901.GA59012@technokratis.com> References: <200307221024.h6MAOggG066724@repoman.freebsd.org> <20030722093443.GD58118@technokratis.com> <20030723003823.R8380@gamplex.bde.org> <20030722112901.GA59012@technokratis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 22, 2003 at 11:29:01AM +0000, Bosko Milekic wrote: > > Is there a way to force GCC to inline them, despite what it thinks? info gcc `-finline-limit=N' By default, gcc limits the size of functions that can be inlined. This flag allows the control of this limit for functions that are explicitly marked as inline (i.e., marked with the inline keyword or defined within the class definition in c++). N is the size of functions that can be inlined in number of pseudo instructions (not counting parameter handling). The default value of N is 600. Increasing this value can result in more inlined code at the cost of compilation time and memory consumption. Decreasing usually -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030722155139.GA39123>