Hello,
When I compile with option '-minrt' and '-Os', gcc generates unnecessary function prologue for 'main():'
; start of prologue PUSH R10 ; .LCFI2: PUSH R9 ; .LCFI3: ; end of prologue
Since no runtime routine code is needed, PUSH R9 and R10 wastes 4 bytes of flash!
(mspdebug) dis main main: 0c360: 0a 12 PUSH R10 0c362: 09 12 PUSH R9