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