Hi Johann,

Where do you expect should these arrays be placed?
Same place the integer variab... which optimization made go away so they only exist in registers! So that's why it only occurred with the array.

You make main naked, so avr-gcc won't set up a frame pointer for you,
however, it will use Y as frame pointer, anyway.

I didn't know that, thank you. I found a note by Joerg to this list in 2007 recommending use of the OS_main attribute.

Cory

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

Reply via email to