[PATCH] Fix constexpr evaluation of comparisons involving pointer-to-members

Jason Merrill jason@redhat.com
Thu Feb 4 14:24:00 GMT 2016


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



More information about the Gcc-patches mailing list