Re: [RFC] Simplify use of apr_hash_this()
From: Philip Martin <philip_at_codematters.co.uk>
Date: Tue, 30 Jun 2009 19:37:14 +0100
Branko Čibej <brane_at_xbc.nu> writes:
> Strictly speaking, no, it's not valid. And aliasing *might* break
Is whole program optimisation required before aliasing becomes a
This is one way to initialise a pointer:
svn_wc_entry_t *entry;
but this:
svn_wc_entry_t *entry;
violates the aliasing rules. If long is the same size as a pointer
So in the same way
svn_wc_entry_t *entry;
can the compiler assume that calling apr_hash_this doesn't modify
------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.