This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Wed, 21 Nov 2012, Roland McGrath wrote:

> We should aim to clean up the code to avoid the warnings while not making
> the generated code worse.

That's the intention of my patch - use memcpy, in an inline function so 
the compiler can see everything and optimize to the same code as for type 
punning as appropriate.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]