On Sun, Sep 5, 2010 at 4:59 PM, Cristian Ionescu-Idbohrn
<[email protected]> wrote:
> On Sun, 5 Sep 2010, Denys Vlasenko wrote:
>> What do you propose to do?
>
> Up to the maintainer ;) But this is the advise:
>
>        This can be temporarily worked around by using
>        -fno-strict-aliasing

Performance hit.

> To fix, access the structure from pointers
>        of an equivalent type, use a union, use memcpy,

This will be ugly.

> or (if using C++)
>        use placement new. See the section titled "Casting does not work
>        as expected when optimization is turned on" on bug reporting
>        documentation page for more information.
>
> and points to another page:
>
>        http://gcc.gnu.org/bugs/
>
> and an article:
>
>        http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
>
> I would vote for fixing the code generating 183+ warnings, but I realize
> that takes some effort.

Did you already looked at the code which causes this?
Hint: grep -r FIX_ALIASING .

-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to