Re: [PHP-DEV] Inline optimization

2002-04-20 Thread Andi Gutmans
At 23:18 20/04/2002 +0900, Yasuo Ohgaki wrote: >Andi Gutmans wrote: >>> >>>What about leaving -O2 but adding -finline-functions >> >>-O2 will inline the functions marked as inline. That should be good >>enough because we inline where it's important. >>I wouldn't go with -O3 nor with -finline-func

Re: [PHP-DEV] Inline optimization

2002-04-20 Thread Yasuo Ohgaki
Andi Gutmans wrote: >> >> What about leaving -O2 but adding -finline-functions > > > > -O2 will inline the functions marked as inline. That should be good > enough because we inline where it's important. > I wouldn't go with -O3 nor with -finline-functions. > Andi Sounds good to me. How abou

Re: [PHP-DEV] Inline optimization

2002-04-20 Thread Andi Gutmans
At 18:17 19/04/2002 +0200, Marcus Börger wrote: >At 15:46 19.04.2002, you wrote: >>Any objection for changing -O2 -> -O3 when >>--enable-inline-optimization is used? (when GCC is used) >> >>-- >>Yasuo Ohgaki > > >What about leaving -O2 but adding -finline-functions -O2 will inline the functions

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread Yasuo Ohgaki
Aaron Bannert wrote: > On Fri, Apr 19, 2002 at 03:50:16PM +0200, Sebastian Bergmann wrote: > >>Yasuo Ohgaki wrote: >> >>>Any objection for changing -O2 -> -O3 when >>>--enable-inline-optimization is used? (when GCC is used) >> >> What happened to the plan of making --enable-inline-optimization t

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread Aaron Bannert
On Fri, Apr 19, 2002 at 06:17:16PM +0200, Marcus Börger wrote: > What about leaving -O2 but adding -finline-functions You can add all of these things to CFLAGS while running configure, I believe. I normally run with: CFLAGS="-Wall -g" ./configure ... -aaron -- PHP Development Mailing List

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread Marcus Börger
At 15:46 19.04.2002, you wrote: >Any objection for changing -O2 -> -O3 when >--enable-inline-optimization is used? (when GCC is used) > >-- >Yasuo Ohgaki What about leaving -O2 but adding -finline-functions marcus -- PHP Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread J Smith
I've also seen gcc go beserk and start taking up over 150 MB of memory on a pretty simple compile 'cause it got confused and take forever to compile. Last time I saw this happen, I waited a half-hour to see if it would eventually compile. Meanwhile, the memory usage was pegged at 99% or so. E

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread Aaron Bannert
On Fri, Apr 19, 2002 at 03:50:16PM +0200, Sebastian Bergmann wrote: > Yasuo Ohgaki wrote: > > Any objection for changing -O2 -> -O3 when > > --enable-inline-optimization is used? (when GCC is used) > > What happened to the plan of making --enable-inline-optimization the > default? Is making

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread Sebastian Bergmann
Yasuo Ohgaki wrote: > Any objection for changing -O2 -> -O3 when > --enable-inline-optimization is used? (when GCC is used) What happened to the plan of making --enable-inline-optimization the default? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTra