I would like to request the upgrade GCC to current 4.9.3 version. 4.9.2 version contains invalid code generation issue (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65504) marked with P1 importance which affects also cross compilers generated by 4.9.2 version. In general all binaries compiled with 4.9.2 version should be rebuild because may be miscompiled.
If you compile this file http://pastebin.com/download.php?i=wvgu8Gz4 with -O2 and without it with 4.9.2 version you will receive different results. Also generating cross compiler with 4.9.2 version on Cygwin 32bit will fail. ---------- tar avxf gcc-5.1.0.tar.bz2 mkdir gcc-5.1.0/gmp && tar avxf gmp-6.0.0a.tar.bz2 -C gcc-5.1.0/gmp --strip-components=1 mkdir gcc-5.1.0/mpfr && tar avxf mpfr-3.1.2.tar.bz2 -C gcc-5.1.0/mpfr --strip-components=1 mkdir gcc-5.1.0/mpc && tar avxf mpc-1.0.3.tar.gz -C gcc-5.1.0/mpc --strip-components=1 mkdir build cd build ../gcc-5.1.0/configure --target=arm-eabi --prefix=${PWD}/../gccbin --enable-languages=c make all-gcc make install-gcc cd .. gccbin/bin/arm-eabi-gcc foo.c -O2 -S -------------- File foo.c -------------- int foo(int *argz_len , char *entry) { int len = 0; len = *entry + 1; *argz_len -= len; } -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple