https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72855

--- Comment #6 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
(In reply to amker from comment #4)
> It reduces compile time for powerpc-elf on x86_64 machine from 54m to 5m. 
> The compiler is configured with checking.  With "--enable-checking=release",
> the current trunk compiles for ~5m too, but gcc in Ubuntu has the issue even
> it's configured as release?

Yes -- I can reproduce this with:

Target: powerpc64le-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.8.4-2ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
--disable-libsanitizer --disable-libsanitizer --disable-libquadmath
--enable-plugin --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-ppc64el/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-ppc64el
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-ppc64el
--with-arch-directory=ppc64el --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-secureplt --with-cpu=power7 --with-tune=power8
--enable-targets=powerpcle-linux --disable-multilib --enable-multiarch
--disable-werror --with-long-double-128 --enable-checking=release
--build=powerpc64le-linux-gnu --host=powerpc64le-linux-gnu
--target=powerpc64le-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) 

I also reproduced it with latest gcc-6-branch, which should be built with
release checking, and with trunk (but that should use extra checking).  The guy
who spotted this originally reported it on 4.8.4, 4.9.?, and 5.4 also.

For his purposes, he recognized that he should just remove the silly --param,
but this uncovered a rather interesting test in any event.

Reply via email to