[tz] [PROPOSED 1/7] Avoid undefined behavior if no Link lines
Paul Eggert
eggert at cs.ucla.edu
Fri Oct 28 01:23:16 UTC 2022
On 10/27/22 15:53, Brian Inglis via tz wrote:
>
> Itanium NULL pointer representation is -1:
>
> https://refspecs.linuxfoundation.org/cxxabi-1.75.html
That's talking about null data member pointers, not null pointers. Data
member pointers are a C++ concept and are different animals from
pointers. Some C++ implementations represent null data member pointers
with 0, some with -1 (both ideas work reasonably well). Either way,
adding 0 to one gives you the same data member pointer you started off
with, namely, a null data member pointer (not that this matters for C).
More information about the tz
mailing list