This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/69258] Flexible arrays break TBAA
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Jan 2016 18:20:03 +0000
- Subject: [Bug middle-end/69258] Flexible arrays break TBAA
- Auto-submitted: auto-generated
- References: <bug-69258-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69258
--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
I don't see a need for these different structures to be able to alias.
(Flexible array members do need to be able to alias static storage, in the
case where that static storage was declared with the structure type with
the flexible array member and the GNU C extension of initializing such
flexible array members was used.)