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

--- Comment #2 from Sebastian Huber <sebastian.hu...@embedded-brains.de> ---
Ok, with -Os I don't have the problem:

sparc-rtems4.11-gcc -c -Os -o vprintk.4.11.o vprintk.i
sparc-rtems4.12-gcc -c -Os -o vprintk.4.12.o vprintk.i
size vprintk.4.11.o
   text    data     bss     dec     hex filename
    612       0       0     612     264 vprintk.4.11.o
size vprintk.4.12.o
   text    data     bss     dec     hex filename
    608       0       0     608     260 vprintk.4.12.o

It seems that this is not SPARC specific. I get it also on PowerPC:

powerpc-rtems4.11-gcc -c -O2 -o vprintk.4.11.o vprintk.i
powerpc-rtems4.12-gcc -c -O2 -o vprintk.4.12.o vprintk.i
size vprintk.4.11.o
   text    data     bss     dec     hex filename
    797       0       0     797     31d vprintk.4.11.o
size vprintk.4.12.o
   text    data     bss     dec     hex filename
   1385       0       0    1385     569 vprintk.4.12.o

I am not sure if this is an improvement.

Reply via email to