https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116677

--- Comment #2 from Wouter van Gulik <wvangulik at xs4all dot nl> ---
(In reply to Richard Biener from comment #1)
> GCC doesn't implement the "common initial sequence rule", so I think you
> need to use -fno-strict-aliasing;  struct sockaddr_storage and struct
> sockaddr_in
> are not compatible with GCCs TBAA rules.


Yes you are correct. Using -fno-strict-aliasing fixes the problem.

Reply via email to