Fix strict-aliasing warnings from unwind-dw2-fde.c

Joseph S. Myers joseph@codesourcery.com
Wed Nov 21 17:20:00 GMT 2012


On Wed, 21 Nov 2012, Jeff Law wrote:

> How interested are we in fixing these warnings?  There's a patch in fedora
> which adds -fno-strict-aliasing to the compilation lines for ~10 or so files
> in glibc.

Well, I think we should aim for zero warnings and -Werror (failing that, a 
few hard-to-fix warnings and -Wno-error=whatever on selected files, with 
appropriate comments e.g. referring to compiler warning bugs), and having 
a few files in a different dialect of C that allows non-standard aliasing 
seems bound to be confusing.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list