Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



On Thu, Nov 07, 2019 at 04:56:16PM +0100, Kamil Rytarowski wrote:
> 6.3.2.1 C11
> 
> 'An lvalue is an expression (with an object type other than void) that
> potentially designates an object'
> 
> This means that real dereference is not needed, only a potential. And
> there are special cases of pointer arithmetic.

But 6.5.3.2 says that taking the address of a pointer expression does
not "evaluate the * oparator", but instead is shortcut to address addition.

The annotations talk about various special cases and not the concreate one
at hand, but in my reading the intention is clear and this part should be
clarified.

Martin


Home | Main Index | Thread Index | Old Index