------- Comment #7 from raj dot khem at gmail dot com 2010-02-12 19:39 ------- you could try standalone target
../sources/gcc-trunk/configure --target=arm-none-eabi --prefix=/scratch/oss/baremetal/arm-none-eabi/tools --enable-languages=c,c++ --with-newlib and make sure that you pass -O0 -mthumb -march=armv5te to gcc when compiling the testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42894