On 7/22/08, Andy H <[EMAIL PROTECTED]> wrote:

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

I inherited a lot of code from the Boss with big if-then-else trees:

> Can folks try the following gcc option
>
> -fno-if-conversion

I find no change with or without the above at -Os:

36,020 Flash, 1399 RAM used on Mega645:

avr-gcc 20080512 4.3.0.

I'm also running with:
CFLAGS += -mcall-prologues
if that maters.


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to