Subject: Re: gcc4 misoptimization
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: Martin Husemann <martin@duskware.de>
List: tech-toolchain
Date: 07/27/2006 21:30:00
On Thu, Jul 27, 2006 at 09:10:41PM +0200, Matthias Drochner wrote:
> Is this a known gcc4 bug? Anyone has a better idea how
> to work around this?

I think the compiler is allowed to do this optimization, and the volatile
temporary you added is the right way to instruct it not to do so.

Martin