This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/39077] [4.3/4.4/4.5/4.6 Regression] GCSE-optimization causes enormous binary size increase (~20 times !)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39077

Robert Hinson <oppiet35 at yahoo dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oppiet35 at yahoo dot com

--- Comment #23 from Robert Hinson <oppiet35 at yahoo dot com> 2011-11-25 13:08:08 UTC ---
I know this is an old bug.  Probably been fixed since then.

I am using:
[oppie@fedora ~]$ g++ -v
Using built-in specs.
COLLECT_GCC=/usr/bin/g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/4.6.2/lto-wrapper
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch=i686
--build=i686-redhat-linux
Thread model: posix
gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC)

This is on a fedora core 16 box. :)

without the -fno-gcse switch I get a file with this size:
-rw-rw-r--. 1 oppie oppie 647512 Nov 25 06:49 SSMprotocol_def_en.o
With the --fno-gcse switch I get a file with this size:
-rw-rw-r--. 1 oppie oppie 649136 Nov 25 07:00 SSMprotocol_def_en.o

I also get an error:
src/SSMprotocol_def_en.cpp: In constructor
âSSMprotocol_def_en::SSMprotocol_def_en()â:
src/SSMprotocol_def_en.cpp:23:2: note: variable tracking size limit exceeded
with -fvar-tracking-assignments, retrying without

:)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]