[PATCH] D24999: [Sema] Only relax array-at-end-of-object checks in __builtin_object_size when -fno-strict-aliasing is given.
George Burgess IV via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 27 20:45:03 PDT 2016
george.burgess.iv created this revision.
george.burgess.iv added reviewers: joerg, rsmith.
george.burgess.iv added a subscriber: cfe-commits.
Mostly asking for a review to verify that you guys are happy with this approach.
Given that Hal said struct-path-tbaa doesn't really deal with arrays (yet), I decided to ignore -fno-struct-path-tbaa. If that changes in the future, we can relax this when that flag is given, too.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8119 bytes
Desc: not available
More information about the cfe-commits