This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/13184] -Os with -fomit-frame-pointer should only remove frame pointer if code size will decrease


------- Additional Comments From bryner at brianryner dot com  2003-11-25 07:17 -------
I should have plenty of testcases to offer up for that, based on my experience
with trying -Os -fomit-frame-pointer on a Mozilla tinderbox earlier today
(http://tinderbox.mozilla.org/showlog.cgi?log=Phoenix/1069727940.31443.gz&fulltext=1)

I'll attach a testcase based on nsSchemaBuiltinType::GetName(nsAString&), which
grew by about 1.6 KB with -fomit-frame-pointer.


Also, I realize -fomit-frame-pointer is not enabled by default with any -O
levels on x86.  I'm just suggesting a way it could interact if you specify
-fomit-frame-pointer together with -Os.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]