This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2, middle end]: Fix PR 37908, thinko with atomic NAND operation



On Oct 29, 2008, at 12:49 PM, Jakub Jelinek wrote:


On Wed, Oct 29, 2008 at 07:37:08PM +0000, Andrew Haley wrote:
No, because real-world users might depend on the documented behaviour.

Or maybe not. I've tried codesearch.google.com on both __sync_fetch_and_nand and __sync_nand_and_fetch and it didn't reveal anything outside of GCC (and LLVM) sources. I know that doesn't imply no such users exist at all, but just that there probably aren't many at least in the opensource world.

FWIW, we hit this same issue and decided to implement a GCC-bug- compatible version of this function in LLVM. I don't think it is actually used in practice though,


-Chris


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]