Closed Bug 110215 Opened 23 years ago Closed 23 years ago

module specific optimizations

Categories

(SeaMonkey :: Build Config, defect, P3)

All
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.9.7

People

(Reporter: netscape, Assigned: netscape)

Details

Attachments

(1 file)

I was thinking about alternatives to bug 53486, which is hung up on compiler
issues, and I came up with a method to allow module owners to increase the
default optimization level for their module.  Afaik, there shouldn't be any
problems mismatching optimization levels across files much less modules.
Would bug 53486 be less hung up if we built js/src with -fno-strict-aliasing?
I don't believe so.  Most of the problems that I saw with -O2 builds dealt with
nsCOMPtrs and presumably how templates are optimized by egcs.  The declaring a
nsCOMPtr inside a while loop is still occassionally causing problems with gcc
2.95.x builds.

Priority: -- → P3
Target Milestone: --- → mozilla0.9.7
Comment on attachment 57886 [details] [diff] [review]
Use MODULE_OPTIMIZE_FLAGS to override *default* optimization

r=bryner
Attachment #57886 - Flags: review+
Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: