From: Peter Zijlstra <peterz@infradead.org>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: linux-toolchains@vger.kernel.org
Subject: Re: Do we care if C compilers start allowing "." on pointers?
Date: Mon, 13 Jan 2025 12:16:24 +0100 [thread overview]
Message-ID: <20250113111624.GG5388@noisy.programming.kicks-ass.net> (raw)
In-Reply-To: <6c55adc5-52f9-45e2-aa20-ef344c9dd1ea@paulmck-laptop>
On Fri, Jan 10, 2025 at 07:02:14AM -0800, Paul E. McKenney wrote:
> Hello!
>
> Currently, given a pointer "p", C allows p->a but not p.a. There is a
> proposal from C++ [1] that is being considered for C.
>
> Do we care?
After buying a new WTF'o'meter -- reading about this proposal definitely
shattered the old one -- I'm with everybody else so far, this will not
make C better, and if it ever were to pass, we should ensure the kernel
does not use it.
next prev parent reply other threads:[~2025-01-13 11:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-10 15:02 Do we care if C compilers start allowing "." on pointers? Paul E. McKenney
2025-01-11 1:09 ` Bill Wendling
2025-01-11 5:25 ` Paul E. McKenney
2025-01-11 7:55 ` Segher Boessenkool
2025-01-12 19:57 ` Florian Weimer
2025-01-13 22:01 ` Bill Wendling
2025-01-11 17:12 ` David Malcolm
2025-01-12 17:37 ` Paul E. McKenney
2025-01-13 23:50 ` Jason Merrill
2025-01-14 18:47 ` Paul E. McKenney
2025-01-13 11:16 ` Peter Zijlstra [this message]
2025-01-14 18:48 ` Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250113111624.GG5388@noisy.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=linux-toolchains@vger.kernel.org \
--cc=paulmck@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox