Just wanted to report the following observations in generated code.
Target: __AVR_ATtiny85__Version: AVR gcc 4.6.4Optimization level: -Os
C source -- uint16_t sum_adc; uint16_t analog; uint16_t
adc_buffer[64]; uint8_t adc_index;... sum_adc += ADC; sum_adc -=
adc_buffer[adc_
Follow-up Comment #1, bug #50811 (project avr-libc):
Calling printf("foo\n"); will be optimized to puts("foo"); so your test isn't
really valid.
Try omparing a program which uses printf("foo: %d\n", 42); instead.
___
Reply to this item at:
Follow-up Comment #2, bug #50811 (project avr-libc):
Ok, with printf("foo: %d\n, 42), the program is indeed smaller with by 264
bytes when -Wl,-u,vfprintf -lprintf_min is used than when none of the printf
linker flags are used.
I guess this is a wishlist item really: it would be nice if using pri