On Mon, 2007-07-30 at 22:30 +0200, Michael Stefaniuc wrote:
> Hell Josh,

Hello to you too. :)

> commit 06bcf19cb8eb3cc3154ba6131477d742a9f0b4b6
> Author: Josh Triplett <[EMAIL PROTECTED]>
> Date:   Sun Jul 29 20:20:38 2007 -0700
> 
>     Makefile: Use -O2 -finline-functions, not just -O
> 
>     introduces warnings while compiling sparse on my machine (FC6, x86,
>     gcc version 4.1.2 20070626 (Red Hat 4.1.2-13)):

Yes, it does here too.  All of this comes from the ptrlist code, which
does indeed break the C99 strict-aliasing rules in its pointer casts.
Either we need -fno-strict-aliasing or we need to type-pun through a
union; we most likely want the latter, though it'll uglify the ptrlist
code.

- Josh Triplett


-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to