This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix constexpr evaluation of comparisons involving pointer-to-members
- From: Jason Merrill <jason at redhat dot com>
- To: Patrick Palka <patrick at parcs dot ath dot cx>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 4 Feb 2016 09:24:10 -0500
- Subject: Re: [PATCH] Fix constexpr evaluation of comparisons involving pointer-to-members
- Authentication-results: sourceware.org; auth=none
- References: <1450739227-18825-1-git-send-email-patrick at parcs dot ath dot cx> <56B0FAA2 dot 3080804 at redhat dot com> <alpine dot DEB dot 2 dot 20 dot 9 dot 1602031242530 dot 1505 at idea>
On 02/03/2016 12:51 PM, Patrick Palka wrote:
+ && (integer_minus_onep (lhs)
+ || integer_minus_onep (rhs)))
Let's use null_member_pointer_value_p here.
Please add pointers to member functions to the testcase.
Jason