This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/52329] Invalid MEM_REF encountered in set_mem_attributes_minus_bitpos
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Feb 2012 18:41:01 +0000
- Subject: [Bug middle-end/52329] Invalid MEM_REF encountered in set_mem_attributes_minus_bitpos
- Auto-submitted: auto-generated
- References: <bug-52329-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52329
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-21 18:41:01 UTC ---
Richard, so what exactly is not kosher?
We have:
# DEBUG D#7 => &s.c.D.2422
...
MEM[(struct J *)&s].D.2422._vptr.G = &MEM[(void *)&_ZTV1JI1BIwES0_IS1_E1AIS1_EE
+ 16B];
in the optimized dump, &s.c.D.2422 is ADDR_EXPR of COMPONENT_REF of MEM_REF,
the first operand in the real stmt is COMPONENT_REF of COMPONENT_REF of
MEM_REF.