Configured with: ../gcc-4.4.1/configure --target=arm-elf --prefix=/home/yagarto/install --disable-nls --disable-shared --disable-threads --with-gcc --with-gnu-ld --with-gnu-as --with-dwarf2 --enable-languages=c,c++ --enable-interwork --enable-multilib --with-newlib --with-headers=../newlib-1.17.0/newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp -vThread model: singlegcc version 4.4.1 (GCC)
arm-elf-gcc -mtune=arm926ej-s -Wall -g -O2 -c -o obj\main.o main.c
int foo(int r0) { int r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14; r1 = 0; for(r2=0;r2<r0;r2++) for(r3=0;r3<r0;r3++) for(r4=0;r4<r0;r4++) for(r5=0;r5<r0;r5++) for(r6=0;r6<r0;r6++) for(r7=0;r7<r0;r7++) for(r8=0;r8<r0;r8++) for(r9=0;r9<r0;r9++) for(r10=0;r10<r0;r10++) for(r11=0;r11<r0;r11++) for(r12=0;r12<r0;r12++) for(r13=0;r13<r0;r13++) for(r14=0;r14<r0;r14++) r1++; return r1;}