I'd like to cancel the request to apply that patch.
At the time I had actually assumed that Clang was at fault, but your comment
made me pause. I'll submit a bug report as you suggest. We can reconsider the
patch in future once that bug is resolved.
From
*ping*
From: Paul Keir
Sent: 03 September 2021 11:31
To: gcc-patches@gcc.gnu.org
Cc: libstd...@gcc.gnu.org
Subject: Re: [PATCH] libstdc++: Fix compare_three_way for constexpr and Clang
*ping*
From: Paul Keir
Sent
*ping*
From: Paul Keir
Sent: 20 August 2021 21:17
To: gcc-patches@gcc.gnu.org
Cc: libstd...@gcc.gnu.org
Subject: [PATCH] libstdc++: Fix compare_three_way for constexpr and Clang
Hi,
The current compare_three_way implementation makes provision for constan
Hi,
The current compare_three_way implementation makes provision for constant
evaluation contexts (avoiding reinterpret_cast etc.), but the approach fails
with Clang; when it compares two const volatile void pointers: "comparison
between unequal pointers to void has unspecified result". I inclu