public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/54078] New: Bytemark 46% bigger binary with -flto
@ 2012-07-24 9:52 wbrana at gmail dot com
2012-07-24 13:22 ` [Bug lto/54078] " rguenth at gcc dot gnu.org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: wbrana at gmail dot com @ 2012-07-24 9:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54078
Bug #: 54078
Summary: Bytemark 46% bigger binary with -flto
Classification: Unclassified
Product: gcc
Version: 4.7.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: wbrana@gmail.com
without -flto 106856 bytes
with -flto 156312 bytes
http://www.tux.org/~mayer/linux/nbench-byte-2.2.3.tar.gz
CFLAGS = -s -Wall -O3 -g0 -march=core2 -fomit-frame-pointer -funroll-loops
-ffast-math -mssse3 -fno-PIE -fno-exceptions -fno-stack-protector
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/54078] Bytemark 46% bigger binary with -flto
2012-07-24 9:52 [Bug lto/54078] New: Bytemark 46% bigger binary with -flto wbrana at gmail dot com
@ 2012-07-24 13:22 ` rguenth at gcc dot gnu.org
2012-07-24 13:38 ` wbrana at gmail dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-24 13:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54078
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-24 13:22:43 UTC ---
When using the linker-plugin? That is, with -fwhole-program?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/54078] Bytemark 46% bigger binary with -flto
2012-07-24 9:52 [Bug lto/54078] New: Bytemark 46% bigger binary with -flto wbrana at gmail dot com
2012-07-24 13:22 ` [Bug lto/54078] " rguenth at gcc dot gnu.org
@ 2012-07-24 13:38 ` wbrana at gmail dot com
2012-07-28 6:48 ` glisse at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: wbrana at gmail dot com @ 2012-07-24 13:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54078
--- Comment #2 from wbrana <wbrana at gmail dot com> 2012-07-24 13:38:03 UTC ---
156312 bytes with
-s -Wall -O3 -g0 -march=core2 -fomit-frame-pointer -funroll-loops
-ffast-math -mssse3 -fno-PIE -fno-exceptions -fno-stack-protector -flto
-fwhole-program?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/54078] Bytemark 46% bigger binary with -flto
2012-07-24 9:52 [Bug lto/54078] New: Bytemark 46% bigger binary with -flto wbrana at gmail dot com
2012-07-24 13:22 ` [Bug lto/54078] " rguenth at gcc dot gnu.org
2012-07-24 13:38 ` wbrana at gmail dot com
@ 2012-07-28 6:48 ` glisse at gcc dot gnu.org
2012-07-28 6:54 ` wbrana at gmail dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: glisse at gcc dot gnu.org @ 2012-07-28 6:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54078
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> 2012-07-28 06:47:49 UTC ---
(In reply to comment #0)
> without -flto 106856 bytes
> with -flto 156312 bytes
But is it faster?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/54078] Bytemark 46% bigger binary with -flto
2012-07-24 9:52 [Bug lto/54078] New: Bytemark 46% bigger binary with -flto wbrana at gmail dot com
` (2 preceding siblings ...)
2012-07-28 6:48 ` glisse at gcc dot gnu.org
@ 2012-07-28 6:54 ` wbrana at gmail dot com
2013-04-13 17:01 ` wbrana at gmail dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: wbrana at gmail dot com @ 2012-07-28 6:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54078
--- Comment #4 from wbrana <wbrana at gmail dot com> 2012-07-28 06:54:06 UTC ---
one of tests is faster
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/54078] Bytemark 46% bigger binary with -flto
2012-07-24 9:52 [Bug lto/54078] New: Bytemark 46% bigger binary with -flto wbrana at gmail dot com
` (3 preceding siblings ...)
2012-07-28 6:54 ` wbrana at gmail dot com
@ 2013-04-13 17:01 ` wbrana at gmail dot com
2013-04-13 17:34 ` wbrana at gmail dot com
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: wbrana at gmail dot com @ 2013-04-13 17:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54078
--- Comment #6 from wbrana <wbrana at gmail dot com> 2013-04-13 17:01:27 UTC ---
executable is smaller with lto when I add -fno-inline-functions
95928 vs 93880
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/54078] Bytemark 46% bigger binary with -flto
2012-07-24 9:52 [Bug lto/54078] New: Bytemark 46% bigger binary with -flto wbrana at gmail dot com
` (4 preceding siblings ...)
2013-04-13 17:01 ` wbrana at gmail dot com
@ 2013-04-13 17:34 ` wbrana at gmail dot com
2013-04-13 17:59 ` wbrana at gmail dot com
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: wbrana at gmail dot com @ 2013-04-13 17:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54078
--- Comment #7 from wbrana <wbrana at gmail dot com> 2013-04-13 17:34:23 UTC ---
-fno-inline-functions makes same tests 12% or 6% slower with lto/gold
NUMERIC SORT : 1689.2 : 43.32 : 14.23
NUMERIC SORT : 1483.2 : 38.04 : 12.49
IDEA : 9932 : 151.91 : 45.10
IDEA : 9360 : 143.16 : 42.50
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/54078] Bytemark 46% bigger binary with -flto
2012-07-24 9:52 [Bug lto/54078] New: Bytemark 46% bigger binary with -flto wbrana at gmail dot com
` (5 preceding siblings ...)
2013-04-13 17:34 ` wbrana at gmail dot com
@ 2013-04-13 17:59 ` wbrana at gmail dot com
2013-04-15 10:23 ` rguenth at gcc dot gnu.org
2014-08-12 17:50 ` wbrana at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: wbrana at gmail dot com @ 2013-04-13 17:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54078
--- Comment #8 from wbrana <wbrana at gmail dot com> 2013-04-13 17:59:47 UTC ---
lto/gold
-finline-limit=43
99960 bytes
NUMERIC SORT : 1471.2 : 37.73 : 12.39
-finline-limit=44
149136 bytes
NUMERIC SORT : 1705.2 : 43.73 : 14.36
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/54078] Bytemark 46% bigger binary with -flto
2012-07-24 9:52 [Bug lto/54078] New: Bytemark 46% bigger binary with -flto wbrana at gmail dot com
` (6 preceding siblings ...)
2013-04-13 17:59 ` wbrana at gmail dot com
@ 2013-04-15 10:23 ` rguenth at gcc dot gnu.org
2014-08-12 17:50 ` wbrana at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-04-15 10:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54078
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> 2013-04-15 10:22:59 UTC ---
Btw, with -O3 you essentially say you do not care for program size (IPA
cloning decisions blow up the unit without limits I think - unlike inlining
which is limited by unit-growth for large units).
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/54078] Bytemark 46% bigger binary with -flto
2012-07-24 9:52 [Bug lto/54078] New: Bytemark 46% bigger binary with -flto wbrana at gmail dot com
` (7 preceding siblings ...)
2013-04-15 10:23 ` rguenth at gcc dot gnu.org
@ 2014-08-12 17:50 ` wbrana at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: wbrana at gmail dot com @ 2014-08-12 17:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54078
--- Comment #10 from wbrana <wbrana at gmail dot com> ---
there is difference also with O2 and branch 4.9
size in bytes
57199 -O2
55222 -O2 -flto
60681 -O2 -finline-functions
75301 -O2 -flto -finline-functions
67083 -O2 -flto -finline-functions --param large-unit-insns=1000
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2014-08-12 17:50 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-24 9:52 [Bug lto/54078] New: Bytemark 46% bigger binary with -flto wbrana at gmail dot com
2012-07-24 13:22 ` [Bug lto/54078] " rguenth at gcc dot gnu.org
2012-07-24 13:38 ` wbrana at gmail dot com
2012-07-28 6:48 ` glisse at gcc dot gnu.org
2012-07-28 6:54 ` wbrana at gmail dot com
2013-04-13 17:01 ` wbrana at gmail dot com
2013-04-13 17:34 ` wbrana at gmail dot com
2013-04-13 17:59 ` wbrana at gmail dot com
2013-04-15 10:23 ` rguenth at gcc dot gnu.org
2014-08-12 17:50 ` wbrana at gmail dot com
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).