> For -O0 it works but upgrading to -Os makes the code non functional.

Indeed. The bug is present only with -O2, -O3 and -Os. -O0 and -O1 produces 
stack frame of expected size...

I'd requalify it from "missed optimisation" to "pessimisation", then... :-)

Jan


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

Reply via email to