[llvm-commits] [REVIEW] Fix an Aliasing Bug
Tim Northover
t.p.northover at gmail.com
Tue Jan 8 13:58:28 PST 2013
It looks like you may have forgotten the patch.
Tim.
On Tue, Jan 8, 2013 at 9:15 PM, David Greene <dag at cray.com> wrote:
> This patch fixes a subtle aliasing bug. gcc complains about type
> punning breaking strict aliasing rules and it's right. gcc could very
> well "mis-optimize" this piece of code.
>
> The patch attempts to accomplish the task more safely by using a
> union.
>
> Please review. Thanks!
>
> -David
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list