[Bug c++/47658] -Os generates bigger code than -O2/3 for many small inline functions (objects)

2011-10-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47658 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/47658] -Os generates bigger code than -O2/3 for many small inline functions (objects)

2011-02-09 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47658 --- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2011-02-09 10:58:01 UTC --- It works for me, the abstraction is completely eliminated by early inlining. At -Os we do not inline E::foo2 into E::foo1 but that isn't abstraction and

[Bug c++/47658] -Os generates bigger code than -O2/3 for many small inline functions (objects)

2011-02-09 Thread Kicer86 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47658 --- Comment #2 from Michał Walenciak Kicer86 at gmail dot com 2011-02-09 19:34:18 UTC --- (In reply to comment #1) It works for me, what do you mean by works ?:) the abstraction is completely eliminated by early inlining. At -Os we do not

[Bug c++/47658] -Os generates bigger code than -O2/3 for many small inline functions (objects)

2011-02-09 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47658 --- Comment #3 from Richard Guenther rguenth at gcc dot gnu.org 2011-02-09 20:12:20 UTC --- (In reply to comment #2) (In reply to comment #1) It works for me, what do you mean by works ?:) works as expected ;) At -Os we inline to remove

[Bug c++/47658] -Os generates bigger code than -O2/3 for many small inline functions (objects)

2011-02-09 Thread Kicer86 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47658 --- Comment #4 from Michał Walenciak Kicer86 at gmail dot com 2011-02-09 21:00:46 UTC --- (In reply to comment #3) (In reply to comment #2) (In reply to comment #1) It works for me, what do you mean by works ?:) works as expected