Re: consistent unspecified pointer comparison

2024-06-29 Thread Jonathan Wakely via Gcc
On Thu, 27 Jun 2024 at 20:07, Andrew Pinski via Gcc wrote: > > On Thu, Jun 27, 2024 at 11:57 AM Jason Merrill via Gcc > wrote: > > > > On Thu, Jun 27, 2024 at 2:38 PM Richard Biener > > wrote: > > > > Am 27.06.2024 um 19:04 schrieb Jason Merrill via Gcc : > > > > > > > > https://www.open-std.o

Re: consistent unspecified pointer comparison

2024-06-27 Thread Martin Uecker via Gcc
Am Donnerstag, dem 27.06.2024 um 12:05 -0700 schrieb Andrew Pinski via Gcc: > On Thu, Jun 27, 2024 at 11:57 AM Jason Merrill via Gcc > wrote: > > > > On Thu, Jun 27, 2024 at 2:38 PM Richard Biener > > wrote: > > > > Am 27.06.2024 um 19:04 schrieb Jason Merrill via Gcc : > > > > > > > > https:

Re: consistent unspecified pointer comparison

2024-06-27 Thread Andrew Pinski via Gcc
On Thu, Jun 27, 2024 at 11:57 AM Jason Merrill via Gcc wrote: > > On Thu, Jun 27, 2024 at 2:38 PM Richard Biener > wrote: > > > Am 27.06.2024 um 19:04 schrieb Jason Merrill via Gcc : > > > > > > https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2434r1.html > > > proposes to require that

Re: consistent unspecified pointer comparison

2024-06-27 Thread Richard Biener via Gcc
> Am 27.06.2024 um 20:55 schrieb Jason Merrill : > > On Thu, Jun 27, 2024 at 2:38 PM Richard Biener > wrote: Am 27.06.2024 um 19:04 schrieb Jason Merrill via Gcc : >>> >>> https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2434r1.html >>> proposes to require that repeated unspec

Re: consistent unspecified pointer comparison

2024-06-27 Thread Jason Merrill via Gcc
On Thu, Jun 27, 2024 at 2:38 PM Richard Biener wrote: > > Am 27.06.2024 um 19:04 schrieb Jason Merrill via Gcc : > > > > https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2434r1.html > > proposes to require that repeated unspecified comparisons be > > self-consistent, which does not match

Re: consistent unspecified pointer comparison

2024-06-27 Thread Richard Biener via Gcc
> Am 27.06.2024 um 19:04 schrieb Jason Merrill via Gcc : > > https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2434r1.html > proposes to require that repeated unspecified comparisons be > self-consistent, which does not match current behavior in either GCC > or Clang. The argument is

Re: consistent unspecified pointer comparison

2024-06-27 Thread Martin Uecker via Gcc
Am Donnerstag, dem 27.06.2024 um 13:02 -0400 schrieb Jason Merrill via Gcc: > https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2434r1.html > proposes to require that repeated unspecified comparisons be > self-consistent, which does not match current behavior in either GCC > or Clang. The

consistent unspecified pointer comparison

2024-06-27 Thread Jason Merrill via Gcc
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2434r1.html proposes to require that repeated unspecified comparisons be self-consistent, which does not match current behavior in either GCC or Clang. The argument is that the current allowance to be inconsistent is user-unfriendly and doe