r281277 - [Sema] Fix PR30346: relax __builtin_object_size checks.

George Burgess IV via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 20 12:43:51 PDT 2016

Noted; thanks for the correction. :)

On Tue, Sep 20, 2016 at 3:04 AM, Joerg Sonnenberger via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> On Mon, Sep 19, 2016 at 09:21:33PM -0700, George Burgess IV wrote:
> > I'm entirely unfamiliar with struct-path-tbaa, so Hal, do you see a
> reason
> > why struct-path-tbaa wouldn't play nicely with flexible arrays at the end
> > of types? Glancing at it, I don't think it should cause problems, but a
> > more authoritative answer would really be appreciated. :) If it might
> cause
> > issues now or in the future, I'm happy to be conservative here if
> > -fno-strict-path-tbaa is given, too.
> Please don't call them flexible types. That's a misname. The standard
> provides a clear mechanism for arrays with statically undefined size --
> which is providing no size at all. We do provide the same support for
> array size of 1 for legacy compat. Any other size is basically abuse.
> Joerg
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160920/a567c532/attachment.html>

More information about the cfe-commits mailing list