avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Can someone benchmark this option please


From: Andy H
Subject: [avr-gcc-list] Can someone benchmark this option please
Date: Tue, 22 Jul 2008 20:40:08 -0400
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Hi,

I have noted problem where gcc is optimizing if-then-else constructs - with disastrous results. For example:

if (a  >= 0)
 return 8;
else
return 0;

(This is now reported as bug.)

Can folks try the following gcc option

-fno-if-conversion

on their own code at -Os optimization, and see if this produce better/worse or same code? This will help figure if the whole pass should be skipped - or whether it still contains useful optimizations.

Andy




reply via email to

[Prev in Thread] Current Thread [Next in Thread]