> /usr/lib/gcc/avr/14.2.0/../../../avr/bin/ld: snek-duemilanove-1.9.elf section 
> `.text' will not fit in region `text'
> /usr/lib/gcc/avr/14.2.0/../../../avr/bin/ld: region `text' overflowed by 3436 
> bytes

Looks like the updated version of gcc-avr is dramatically worse for code
size than the previous version (based on gcc 7.3!). I looked at the
generated code and it also looks worse from a quality perspective, in
one function I found several sections that look like this:

        .loc 1 83 1 view .LVU8
        std Y+39,r22
        std Y+40,r23
        std Y+41,r24
        std Y+42,r25
        ldd r22,Y+39
        ldd r23,Y+40
        ldd r24,Y+41
        ldd r25,Y+42

On the surface, this looks like a completely unnecessary sequence of 8
instructions. There are multiple instances of this behavior in just this
one file.

-- 
-keith

Attachment: signature.asc
Description: PGP signature

Reply via email to