Since code size is more important than speed for the avr target, I'd like to suggest to add '-Os' to 'gcc/config/avr/t-avr' (TARGET_LIBGCC2_CFLAGS)
Comments? -- Summary: Compiling libgcc2.c with -Os for avr-gcc? Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: berndtrog at yahoo dot com CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: avr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20016