public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/60936] New: Binary code bloat with std::string
@ 2014-04-23 11:10 d.v.a at ngs dot ru
  2014-04-23 12:12 ` [Bug libstdc++/60936] " d.v.a at ngs dot ru
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: d.v.a at ngs dot ru @ 2014-04-23 11:10 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60936
           Summary: Binary code bloat with std::string
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: d.v.a at ngs dot ru

Test program:

#include<string>
int hello()
{
    std::string st("abc");
    return st.length();
}


Build:

$ g++ -shared -fPIC -static-libgcc -static-libstdc++ -Wl,-s -o $@ $?


Sizes of result:

gcc-4_7-string.so: 171744
gcc-4_8-string.so: 185808
gcc-4_9-string.so: 635960


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-05-20 11:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-23 11:10 [Bug libstdc++/60936] New: Binary code bloat with std::string d.v.a at ngs dot ru
2014-04-23 12:12 ` [Bug libstdc++/60936] " d.v.a at ngs dot ru
2014-04-23 12:37 ` d.v.a at ngs dot ru
2014-07-17 10:00 ` [Bug libstdc++/60936] [4.9 Regression] " d.v.a at ngs dot ru
2014-07-19  9:57 ` redi at gcc dot gnu.org
2014-07-19 10:32 ` redi at gcc dot gnu.org
2014-11-19 13:27 ` rguenth at gcc dot gnu.org
2015-04-15 11:36 ` [Bug libstdc++/60936] [4.9/5 " d.v.a at ngs dot ru
2015-04-15 11:38 ` redi at gcc dot gnu.org
2015-04-15 11:40 ` redi at gcc dot gnu.org
2015-04-15 13:41 ` [Bug libstdc++/60936] [4.9/5/6 " d.v.a at ngs dot ru
2015-04-23  7:38 ` d.v.a at ngs dot ru
2015-05-20  8:44 ` meisenmann.lba@fh-salzburg.ac.at
2015-05-20 11:31 ` redi at gcc dot gnu.org

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).