Strict-aliasing rules (gcc 4.4)

Julien ÉLIE julien at trigofacile.com
Fri Aug 21 08:28:03 UTC 2009


Hi Alexander,

> With a non-aliased pointer the compiler can make assumptions about the
> value of things, e.g. with
>
>   s_local->sa_family = 0;
>   family = s_local->sa_family;
>
> it can assign a literal 0 to "family" without dereferencing the pointer.

OK, thanks for your explanations!
And also thanks to Russ for the patch.

-- 
Julien ÉLIE

« -- Ensuite, il n'y a plus qu'à tirer, comme pour la pêche au gros.
  -- Qui est gros ? » (Astérix) 




More information about the inn-workers mailing list