linux says it is a bug
Hannes Frederic Sowa
hannes@stressinduktion.org
Tue Mar 4 09:33:00 GMT 2014
On Tue, Mar 04, 2014 at 09:26:31AM +0000, Andrew Haley wrote:
> On 03/04/2014 09:24 AM, Hannes Frederic Sowa wrote:
> >> > So the bug was probably fixed more than 15 years ago.
> > Probably :)
> >
> > But the __volatile__ shoud do no harm and shouldn't influence code
> > generation in any way, no?
>
> Of course it will: it's a barrier.
Sure. My question was about the volatile marker. asm("":::"memory") should act
as the barrier alone.
More information about the Gcc
mailing list