On 6/11/22 09:12, Paul Eggert wrote:
First, a const pointer can point to uninitialized storage.
Of course it can, but my claim was there’s never a reason. A pointer to uninitialized (or zero-initialized) memory that won’t be written is valid but not _useful_. The reason you’d align a pointer is so you can store something there that needs to be aligned. It’s not an accident that all of the current callers work that way.
Anders