I had already tried that. That doesn't change anything.

I had also tried passing a higher --param max-unroll-times. No effect.

So, any idea? The example program toto.cpp is so simple, I can't believe g++ 
can't handle it. Surely there must be something simple that I haven't 
understood?

Benoit

Le mercredi 13 décembre 2006 13:12, Steven Bosscher a écrit :
> On 12/13/06, Benoît Jacob <[EMAIL PROTECTED]> wrote:
> > g++ -DUNROLL -O3 toto.cpp -o toto   ---> toto runs in 0.3 seconds
> > g++ -O3 toto.cpp -o toto            ---> toto runs in 1.9 seconds
> >
> > So what can I do? Is that a bug in g++? If yes, any hope to see it fixed
> > soon?
>
> You could try adding -funroll-loops.
>
> Gr.
> Steven

Attachment: pgpsNhllyNHF0.pgp
Description: PGP signature

Reply via email to