[PATCH] Fix for bug 21725: wrong results with union and strict-aliasing

Jeroen Dobbelaere jeroen.dobbelaere at gmail.com
Wed Mar 4 06:01:05 PST 2015


Hi hfinkel, dberlin,

Generate path-aware tbaa for unions. This fixes an aliasing issue described in bug 21725.

http://reviews.llvm.org/D8056

Files:
  lib/CodeGen/CGExpr.cpp                                            
  lib/CodeGen/CodeGenTBAA.cpp                                  
  test/CodeGen/tbaa-union.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8056.21194.patch
Type: text/x-patch
Size: 19080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150304/017e7eed/attachment.bin>


More information about the cfe-commits mailing list