https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120955

--- Comment #15 from fiesh at zefix dot tv ---
To reproduce my sizes:

~ % podman run -it -v /tmp:/tmp alpine:3.21 sh -c 'sed -i -e s/https/http/
/etc/apk/repositories && apk -q add gcc-avr && avr-g++ --version && avr-g++
-fno-exceptions -std=c++20 -Os -g0 -ffunction-sections -fdata-sections
-fmerge-all-constants -fstrict-enums -ffast-math -fassociative-math
-freciprocal-math -fno-signed-zeros -fno-exceptions -fno-threadsafe-statics
-fimplicit-constexpr -mmcu=atmega2560 -fvisibility=hidden -o /a.o -c /tmp/a.ii
&& avr-size -G /a.o'
avr-g++ (Alpine Linux) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

      text       data        bss      total filename
      3298         31          0       3329 /a.o
~ % podman run -it -v /tmp:/tmp alpine:3.22 sh -c 'sed -i -e s/https/http/
/etc/apk/repositories && apk -q add gcc-avr && avr-g++ --version && avr-g++
-fno-exceptions -std=c++20 -Os -g0 -ffunction-sections -fdata-sections
-fmerge-all-constants -fstrict-enums -ffast-math -fassociative-math
-freciprocal-math -fno-signed-zeros -fno-exceptions -fno-threadsafe-statics
-fimplicit-constexpr -mmcu=atmega2560 -fvisibility=hidden -o /a.o -c /tmp/a.ii
&& avr-size -G /a.o'
avr-g++ (Alpine Linux) 15.1.0
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

      text       data        bss      total filename
      2688        194          0       2882 /a.o

Reply via email to