[PATCH v2, middle end]: Fix PR 37908, thinko with atomic NAND operation
Richard Guenther
richard.guenther@gmail.com
Fri Oct 31 03:57:00 GMT 2008
On Thu, Oct 30, 2008 at 10:39 AM, Andrew Haley <aph@redhat.com> wrote:
> 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.
>
> Thanks for doing that. To be honest, the current behaviour isn't very
> useful, so I'm not surprised it isn't much used. I'm still going to
> suggest that silently changing the behaviour with no warning isn't a
> good idea, though.
If it is not used let us remove it.
Richard.
More information about the Gcc-patches
mailing list