#817 closed defect (fixed)
inconsistency between -O5 and -optimize-level 5 in csc
Reported by: | sven | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.9.0 |
Component: | unknown | Version: | 4.7.x |
Keywords: | Cc: | ||
Estimated difficulty: |
Description
-O5 causes the addition of C options in csc.scm, while -optimize-level 5 doesn't.
Please remove the when-statement that does this.
Some arguments for this:
- -O5 does more than -optimize-level 5, which is undocumented
and inconsistent.
- Furthermore, -fomit-frame-pointer might not help much if the underlying
chicken was built without this option (if I remember correctly).
- -O3 is often not the best choice for speed, so I would recommend not to
intervene with the settings from the chicken build.
- Finally, gcc takes the _last_ -O option if several are given, so -O3 has no
effect if "compile-options" contains any -O2 or similar.
Change History (2)
comment:1 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
Milestone: | 4.8.0 → 4.9.0 |
---|
Note: See
TracTickets for help on using
tickets.
Milestone 4.8.0 deleted