On Monday 01 March 2010 12:09:24 am Pavel Heimlich wrote:
> [23:57] <thiago_home>                 val &= ~quintptr(1u);
> [23:57] <thiago_home>                 mtx->unlock();
> [23:57] <thiago_home> see? It's impossible to call mtx->unlock with a
> pointer that ends in 9 or 1 [23:58] <thiago_home> (val and mtx are in a
> union)

That was sort of the point of the whole discusson: -xalias_level=compatible 
promises that you don't do that (access both val and mtx from the union 
interchangably).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: This is a digitally signed message part.
URL: 
<http://mail.opensolaris.org/pipermail/kde-discuss/attachments/20100301/0c28d4fd/attachment.bin>

Reply via email to