Re: Compiling PHP with -O3

From: Date: Wed, 13 Dec 2000 00:30:33 +0000
Subject: Re: Compiling PHP with -O3
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-41104@lists.php.net to get a copy of this message
On Wed, 13 Dec 2000, Sascha Schumann wrote: > > Nobody knows what problems could happen when taking the address of an inlined > > function, simply because such a thing can never happen > > Of course it can. If you take the address of a function which > has been marked as ``inline'' (note that it is only a hint to > the compiler), the compiler will generate a function with > static storage duration and take the address of that > function. > > If a function is not marked as inline and GCC chooses to > optimize it, I'd guess that it does exactly the same thing. > > - Sascha > Hmm... maybe I have some more reading to do... :) -- Ignacio Vazquez-Abrams <ignacio@openservices.net>

« previous php.dev (#41104) next »