Subject: Re: how to avoid re-ordering?
To: None <junyoung@mogua.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 12/06/2001 01:06:42
From: Bang Jun-Young <junyoung@mogua.com>
> > I noticed that spl*/splx are inlined and re-orderd
> > with "-O3 -march=pentium", and it produce bad codes as a result.
> > I actually experienced panics due to this.
> 
> -O3 is known to be buggy and dangerous. You shouldn't use it.

I don't think that -O3 is recommended.
but in this case, the problem isn't due to compiler bugs, IMO.

---
YAMAMOTO Takashi<yamt@mwd.biglobe.ne.jp>