Subject: Re: dereferencing type-punned pointer will break strict-aliasing
To: Matthew Mondor <firstname.lastname@example.org>
From: Eric Christopher <email@example.com>
Date: 08/05/2004 15:58:37
On Thu, 2004-08-05 at 13:50, Matthew Mondor wrote:
> Hmm is this file the only one breaking? Will other KAME code also
> break on this? Also, won't other systems using KAME also observe
> similar issues? I.E. Is it a GCC problem so far, or a KAME one?
It's a KAME problem. GCC is warning about an ISO C aliasing violation.
Certain optimizations in the compiler depend on that behavior - unless
you pass -fno-strict-aliasing.
Eric Christopher <firstname.lastname@example.org>