Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#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:

  1. -O5 does more than -optimize-level 5, which is undocumented

and inconsistent.

  1. Furthermore, -fomit-frame-pointer might not help much if the underlying

chicken was built without this option (if I remember correctly).

  1. -O3 is often not the best choice for speed, so I would recommend not to

intervene with the settings from the chicken build.

  1. 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 10 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

comment:2 Changed 9 years ago by felix winkelmann

Milestone: 4.8.04.9.0

Milestone 4.8.0 deleted

Note: See TracTickets for help on using tickets.