Patch for C++ uninitialized pointer-to-member value

Jason Merrill jason@redhat.com
Fri Apr 5 09:43:00 GMT 2002


>>>>> "Jessica" == Jessica Han <jessica@cup.hp.com> writes:

> Under the IA64 C++ ABI, a NULL pointer-to-member is represented by -1, not
> by zero.  An uninitialized pointer-to-member should also be -1(NULL) instead
> of zero.

No; an uninitialized variable has indeterminate value.

Jason



More information about the Gcc-patches mailing list