[cfe-commits] r154659 - in /cfe/trunk: include/clang/Basic/Builtins.def lib/AST/Expr.cpp lib/CodeGen/CGExpr.cpp lib/Sema/SemaChecking.cpp test/CodeGen/atomic-ops.c
Joerg Sonnenberger
joerg at britannica.bec.de
Fri Apr 13 12:34:30 PDT 2012
On Fri, Apr 13, 2012 at 10:23:26AM -0700, Chris Lattner wrote:
> On Apr 12, 2012, at 11:31 PM, Richard Smith wrote:
> > Author: rsmith
> > Date: Fri Apr 13 01:31:38 2012
> > New Revision: 154659
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=154659&view=rev
> > Log:
> > Implement __atomic_fetch_nand and __atomic_nand_fetch to complete our set of
> > GNU __atomic builtins.
>
> I'm not opposed to this, but there is a reason that we didn't support
> the nand builtins. Old versions of gcc implemented nand "wrong", and
> then they fixed it in more recent versions of gcc. Please make sure
> that this is following gcc mainline.
When did GCC add it initially and when was it fixed? I.e. does it
interact badly with the GCC version Clang claims to be?
Joerg
More information about the cfe-commits
mailing list