This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2008 11:56:48 -0000
- Subject: [Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.
- References: <bug-35560-9436@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-11-30 11:56 -------
Well, the middle-end thinks that *ap is clobbered by the calls to foo/bar
(which it obviously is). The middle-end has no idea that the _vptr member
of *ap is special and not clobbered (is it?). We do not have a suitable way
to represent this either.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35560