http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58828
--- Comment #2 from Daniel Fruzynski <bugzi...@poradnik-webmastera.com> --- Thanks for reply. As I checked, this also happens when compiling using gcc 4.7.3, so looks that this is more general problem. File [path]/gcc/obj/gcc/config.status contains following entry: configured by [path]/gcc/gcc-4.8.2/gcc/configure, generated by GNU Autoconf 2.64, with options \"'--cache-file=./config.cache' '--with-gnu-as' '--with-gnu-ld' '--prefix=[path]/gcc-4.8.2-linux/' '--disable-nls' '--enable-threads=posix' '--enable-checking=release' '--enable-__cxa_atexit' '--with-tune=generic' '--with-arch_32=i686' '--enable-languages=c,c,c++,lto' '--program-transform-name=s,y,y,' '--disable-option-checking' '--build=x86_64-redhat-linux' '--host=x86_64-redhat-linux' '--target=x86_64-redhat-linux' '--srcdir=../../gcc-4.8.2/gcc' '--disable-intermodule' '--enable-checking=release,types' '--disable-coverage' '--enable-languages=c,c++,lto' 'build_alias=x86_64-redhat-linux' 'host_alias=x86_64-redhat-linux' 'target_alias=x86_64-redhat-linux' 'CC=x86_64-redhat-linux-gcc' 'CFLAGS=-g -fkeep-inline-functions' 'LDFLAGS= ' 'CXX=x86_64-redhat-linux-g++' 'CXXFLAGS=-g -fkeep-inline-functions' 'GMPLIBS=-L[path]/gcc/obj/./gmp/.libs -L[path]/gcc/obj/./mpfr/src/.libs -L[path]/gcc/obj/./mpc/src/.libs -lmpc -lmpfr -lgmp' 'GMPINC=-I[path]/gcc/obj/./gmp -I[path]/gcc/gcc-4.8.2/gmp -I[path]/gcc/obj/./mpfr/src -I[path]/gcc/gcc-4.8.2/mpfr/src -I[path]/gcc/gcc-4.8.2/mpc/src ' 'CLOOGLIBS=' 'CLOOGINC='\" So -fkeep-inline-functions was passed from outside. I checked [path]/gcc/obj/config.status and found this: S["stage1_cflags"]="-g -fkeep-inline-functions" Looks that there is some issue with top-level configure script.