This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Implement stack arrays even for unknown sizes


Hi,

On Thu, 14 Apr 2011, Michael Matz wrote:

>                                  no stack-arrays    with stack-arrays
> no addtional options:                      10.2s          8.8s
> + -fwhole-program:                          7.1s          8.8s
> + -fwhole-program -flto:                   10.1s          8.9s
> + -fwhole-program -flto -finline-limit=600  4.8s          8.7s
> 
> The perdida subroutine isn't inlined with -fstack-arrays, although it's 
> called only once.  The dump report doesn't reveal any reasons, perdida 
> doesn't seem to be in the candidate list for the called-once functions.

See http://gcc.gnu.org/ml/gcc-patches/2011-04/msg01087.html .  With that 
patch, -fwhole-program -finline-limit=600 and stack arrays I get down to 
3.6s.


Ciao,
Michael.


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