This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH v2, middle end]: Fix PR 37908, thinko with atomic NAND operation
- From: "Lu, Hongjiu" <hongjiu dot lu at intel dot com>
- To: Andrew Haley <aph at redhat dot com>, Richard Guenther <richard dot guenther at gmail dot com>
- Cc: David Daney <ddaney at caviumnetworks dot com>, Uros Bizjak <ubizjak at gmail dot com>, Jakub Jelinek <jakub at redhat dot com>, "Lavery, Daniel M" <daniel dot m dot lavery at intel dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 29 Oct 2008 15:48:35 -0700
- Subject: RE: [PATCH v2, middle end]: Fix PR 37908, thinko with atomic NAND operation
- Accept-language: en-US
- Acceptlanguage: en-US
- References: <5787cf470810240318i7dc36cd6id5cc608733a27699@mail.gmail.com> <20081024123733.GK14706@tyan-ft48-01.lab.bos.redhat.com> <4901C719.6060306@redhat.com> <8EA2C2C4116BF44AB370468FBF85A777A469033D@orsmsx504.amr.corp.intel.com> <49078759.7030709@caviumnetworks.com> <20081028220448.GF14706@tyan-ft48-01.lab.bos.redhat.com> <5787cf470810290105h4a7a900btf971a5259c278f86@mail.gmail.com> <49088A20.30308@caviumnetworks.com> <4908B47F.4030000@gmail.com> <4908BAC0.2080802@caviumnetworks.com> <84fc9c000810291236w6790489ai8208f148c51c12a6@mail.gmail.com> <4908BBD2.70909@redhat.com>
>
>Richard Guenther wrote:
>> On Wed, Oct 29, 2008 at 8:34 PM, David Daney <ddaney@caviumnetworks.com>
>wrote:
>
>
>>> That GCC behavior diverges from a 'published standard' is lamentable,
>you
>>> think we should change GCC to match the standard immediately, I wonder
>if
>>> there are better options.
>>
>> Another option is to remove support for this function entirely and
>> re-introduce it
>> using a different name.
>
>That's a much better idea than silently changing it at the last moment.
>
Maybe we should disable it with a warning by default and
1. Enable the old semantics with a switch, like -fbroken-nand.
2. Enable the correct semantics with a switch, like -fnand.
Both -fbroken-and and -fnand should be off by default.
H.J.
- References:
- [PATCH, middle end]: Fix PR 37908, thinko with atomic NAND operation
- Re: [PATCH, middle end]: Fix PR 37908, thinko with atomic NAND operation
- Re: [PATCH, middle end]: Fix PR 37908, thinko with atomic NAND operation
- RE: [PATCH, middle end]: Fix PR 37908, thinko with atomic NAND operation
- Re: [PATCH, middle end]: Fix PR 37908, thinko with atomic NAND operation
- Re: [PATCH, middle end]: Fix PR 37908, thinko with atomic NAND operation
- Re: [PATCH v2, middle end]: Fix PR 37908, thinko with atomic NAND operation
- Re: [PATCH v2, middle end]: Fix PR 37908, thinko with atomic NAND operation
- Re: [PATCH v2, middle end]: Fix PR 37908, thinko with atomic NAND operation
- Re: [PATCH v2, middle end]: Fix PR 37908, thinko with atomic NAND operation
- Re: [PATCH v2, middle end]: Fix PR 37908, thinko with atomic NAND operation
- Re: [PATCH v2, middle end]: Fix PR 37908, thinko with atomic NAND operation