public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tim at klingt dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fastjar/36542]  New: 300% code bloat with -O3
Date: Sun, 15 Jun 2008 11:24:00 -0000	[thread overview]
Message-ID: <bug-36542-12873@http.gcc.gnu.org/bugzilla/> (raw)

the attached code (preprocessed source) compiles to the following sizes:

gcc-4.2, -O2:  51072
gcc-4.2, -O3:  53492
gcc-4.3, -O2:  44976
gcc-4.3, -O3: 143736

the full command line is:
$g++ -c -OX -mfpmath=sse -msse -msse2 -fvisibility=hidden -fPIC -DNDEBUG
path/to/file

gcc-4.3 -v:
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.1-2'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.1 (Debian 4.3.1-2)


-- 
           Summary: 300% code bloat with -O3
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fastjar
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tim at klingt dot org


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


             reply	other threads:[~2008-06-15 11:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-15 11:24 tim at klingt dot org [this message]
2008-06-15 11:25 ` [Bug fastjar/36542] " tim at klingt dot org
2008-06-15 12:37 ` [Bug middle-end/36542] " pinskia at gcc dot gnu dot org
2008-06-15 12:38 ` pinskia at gcc dot gnu dot org
2008-06-15 12:43 ` pinskia at gcc dot gnu dot org
2008-06-15 13:00 ` tim at klingt dot org
2008-06-15 13:40 ` pinskia at gcc dot gnu dot org
2008-06-15 14:02 ` tim at klingt dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-36542-12873@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).