Commit 7f2a1860 authored by simonmar's avatar simonmar
Browse files

[project @ 2001-12-18 13:03:12 by simonmar]

Nuke -O2-for-C, since it can cause gcc to generate incorrect code, and
doesn't seem to help much.  Add a comment about this in the 5.02
release notes, saying you can still use -optc-O2 if you really want

(merged from rev.
parent d3229889
......@@ -1191,24 +1191,6 @@ f "2" = 2
<indexterm><primary>-O2-for-C option</primary></indexterm>
<indexterm><primary>gcc, invoking with -O2</primary></indexterm>
<para>Says to run GCC with <option>-O2</option>, which may
be worth a few percent in execution speed. Don't forget
<option>-fvia-C</option>, lest you use the native-code
generator and bypass GCC altogether!</para>
<para><emphasis>Note: some versions of gcc are known to
have code generation bugs with <option>-O2</option>. Use
this option at your own risk! But we'd be keen to here
any reports of whether (a) it works or (b) it improves
performance at all.</emphasis></para>
<term><option>-Ofile &lt;file&gt;</option>:</term>
<indexterm><primary>-Ofile &lt;file&gt; option</primary></indexterm>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment