This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/53861] Assignment of an array element from pointer is not taken as ARRAY_TYPE when expand_assignment
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Jul 2012 08:44:02 +0000
- Subject: [Bug rtl-optimization/53861] Assignment of an array element from pointer is not taken as ARRAY_TYPE when expand_assignment
- Auto-submitted: auto-generated
- References: <bug-53861-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53861
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-05 08:44:02 UTC ---
You should be able to use index mode for expanding
MEM[(unsigned char *)&a + 1B]
as well.