GCC upgrade to 4.9.3 version request

Jiří Engelthaler engycz@gmail.com
Sun Jun 28 10:52:00 GMT 2015

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

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
mkdir gcc-5.1.0/mpfr && tar avxf mpfr-3.1.2.tar.bz2 -C gcc-5.1.0/mpfr
mkdir gcc-5.1.0/mpc  && tar avxf mpc-1.0.3.tar.gz   -C gcc-5.1.0/mpc

mkdir build
cd build

../gcc-5.1.0/configure --target=arm-eabi --prefix=${PWD}/../gccbin
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

More information about the Cygwin mailing list