Re: atomicity.h: inconsistent operand constraints in an `asm'
On Mon, Oct 11, 2004 at 02:39:26PM -0700, Kristian G. Kvilekval wrote:
> While compiling on amd64 I got the following
> /usr/include/c++/3.3/x86_64-linux/bits/atomicity.h:40: error:
> operand constraints in an `asm'
> >From this bug report is appears to be fixed,
> but I'm still getting it. Is there a work around?
It is not fixed in gcc 3.3, it is in 3.4.
The bug report also says that it only happens with -O (-O1)
and that you should use -O0 (no -O), -O2 or -O3 instead.