This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15003] New: Generated Code Size if far higher than platform native compiler
- From: "warudkar at comcast dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Apr 2004 14:37:43 -0000
- Subject: [Bug c++/15003] New: Generated Code Size if far higher than platform native compiler
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiled the attached program with "g++ -Os -fno-inline -fomit-frame-pointer".
Resulting code size reported by size.exe from cygwin is
text data bss dec hex filename
200180 1992 19088 221260 3604c a.exe
Same program compiled with MS Visual Studio 2003 compiler with "/O2 /EHsc" gives
following -
text data bss dec hex filename
81697 8192 0 89889 15f21 conformance.exe
That's more than 100% less!
--
Summary: Generated Code Size if far higher than platform native
compiler
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: warudkar at comcast dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15003