This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/66661] incorrect memory access in optimization with flexible array member
- From: "P at draigBrady dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Jun 2015 01:39:39 +0000
- Subject: [Bug middle-end/66661] incorrect memory access in optimization with flexible array member
- Auto-submitted: auto-generated
- References: <bug-66661-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66661
--- Comment #4 from PÃdraig Brady <P at draigBrady dot com> ---
I should note that I worked around the issue by increasing the allocation for
the structure on the heap up to a multiple of alignof(the_struct). See:
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=49078a78