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 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.


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