[Bug target/41095] 4x bigger object when compiled with -O3 option
ami_stuff at o2 dot pl
gcc-bugzilla@gcc.gnu.org
Sat Jan 23 03:26:00 GMT 2010
------- Comment #10 from ami_stuff at o2 dot pl 2010-01-23 03:26 -------
Looks like -mnobitfield option increases object's size more than 100%. I don't
know if so big file size increase is correct. Another problem can be noticed
with GCC 4.4.2 which generated 45% bigger object than the rest of the 4.x
compilers, so maybe some internal settings should be tweaked for this branch.
GCC 3.4.0
-m68060 -O3: 185KB
-m68060 -O3 -mnobitfield: 265KB
GCC 4.1.2:
-m68060 -O3: 386KB
-m68060 -O3 -mnobitfield: 783KB
GCC 4.2.5:
-m68060 -O3: 387KB
-m68060 -O3 -mnobitfield: 792KB
GCC 4.3.2
-m68060 -O3: 378KB
-m68060 -O3 -mnobitfield: 781KB
GCC 4.4.2:
-m68060 -O3: 554KB
-m68060 -O3 -mnobitfield: 1,18MB
GCC 4.5.0
-m68060 -O3: 383KB
-m68060 -O3 -mnobitfield: 840KB
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41095
More information about the Gcc-bugs
mailing list