[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc-3.3 patch for atomicity.h ?



On Mon, Nov 15, 2004 at 01:39:54PM -0800, kristian kvilekval wrote:
> 
> I have a program that is failing on an include of
> atomicity.h.   If I compile with gcc-3.4 this does
> not occur, but I am not ready to switch to the 
> gcc-3.4 archive.   
> 
> /usr/include/c++/3.3/x86_64-linux/bits/atomicity.h:40: error:
> inconsistent
>    operand constraints in an `asm'
> 
> Does any body have a patch for gcc-3.3 that fixes this?

The problem normally only occurs when using gcc -O1 (or -O) and
goes away when using -O0 or -O2.


Kurt



Reply to: