------- Comment #39 from joel at gcc dot gnu dot org  2008-07-15 19:36 -------
I compiled Zoltan's example test.c for the various arm-rtems gcc versions I had
laying around.  The GCC version string is modified to reflect the RTEMS
specific patch revision and newlib version used in the binary.  I used -Os,
-O1, and -O3.  Here is the report.  

arm-rtems-gcc (GCC) 3.2.3 (OAR Corporation
gcc-3.2.3-20040420/newlib-1.11.0-20030605-4)
===> -Os 1020 0 0 1020 3fc test.o
===> -O1 1024 0 0 1024 400 test.o
===> -O2 1024 0 0 1024 400 test.o
arm-rtems4.7-gcc (GCC) 4.1.1 (RTEMS gcc-4.1.1/newlib-1.15.0-12.fc8)
===> -Os 936 0 0 936 3a8 test.o
===> -O1 840 0 0 840 348 test.o
===> -O2 892 0 0 892 37c test.o
arm-rtems4.8-gcc (GCC) 4.2.4 (RTEMS gcc-4.2.4/newlib-1.15.0-30.fc8)
===> -Os 928 0 0 928 3a0 test.o
===> -O1 852 0 0 852 354 test.o
===> -O2 908 0 0 908 38c test.o
arm-rtems4.9-gcc (GCC) 4.3.1
===> -Os 1740 0 0 1740 6cc test.o
===> -O1 868 0 0 868 364 test.o
===> -O2 1944 0 0 1944 798 test.o


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31849

Reply via email to