How to replace -O1 with corresponding -f's?
Andrew Pinski
pinskia@physics.uc.edu
Mon Jun 20 14:35:00 GMT 2005
On Jun 20, 2005, at 9:38 AM, Sergei Organov wrote:
> 2. The resulting assembly is different from what I get with -O1 and
> doesn't contain the mis-optimization I'm trying to debug though it
> doesn't seem to have anything to do with loops. For reference, the
> code I'm trying to compile is:
>
> extern double const osv;
> double const osv = 314314314;
> double osvf() { return osv; }
I don't see anything wrong with what it gives for -O0 and -O2.
-- Pinski
More information about the Gcc
mailing list