Summary
inconsistency between -O5 and -optimize-level 5 in csc
Metadata
- Id: c5b539cf20e10137b5e6738b19ae4606c37473d8
- Trac id: 817
- Type: defect
- Reporter: sven
- Owner:
- Cc:
- Status: closed
- Component: unknown
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone: 4.9.0
- Version: 4.7.x
- Changetime: 2012-09-24 21:47:48 UTC
- Created: 2012-04-16 12:47:18 UTC
- Keywords:
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: 1. -O5 does more than -optimize-level 5, which is undocumented and inconsistent.
2. Furthermore, -fomit-frame-pointer might not help much if the underlying chicken was built without this option (if I remember correctly).
3. -O3 is often not the best choice for speed, so I would recommend not to intervene with the settings from the chicken build.
4. Finally, gcc takes the _last_ -O option if several are given, so -O3 has no effect if "compile-options" contains any -O2 or similar.
Changes and comments
[2012-04-27 23:22:34 UTC] felix changed status from new to closed
[2012-04-27 23:22:34 UTC] felix set resolution to fixed
[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0
[2012-09-24 21:47:48 UTC] felix wrote:
Milestone 4.8.0 deleted