Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 1996 17:26:12 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, peter@freefall.freebsd.org
Subject:   Re: cvs commit:  src/sys/i386/isa syscons.c
Message-ID:  <199605270726.RAA26263@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help

>  Modified:    sys/i386/isa  syscons.c
>  Log:
>  Fix the warnings about "cant inline call to xxx" by reordering two
>  functions.  It seems gcc wants to have seen the definitions of the
>  function before it will insert it inline in a caller.

C is normally compiled in a single pass, so this shouldn't be surprising.
gcc actually emits code for each function as soon as it sees the end of
the function.

How much larger and slower does the extra inlining make syscons? ;-)

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605270726.RAA26263>