This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/35545] virtual call specialization not happening with FDO
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2008 06:07:35 -0000
- Subject: [Bug middle-end/35545] virtual call specialization not happening with FDO
- References: <bug-35545-9436@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-03-12 06:07 -------
Jump threading happened by we did not prop the call correctly:
ap = (struct A *) D.2075;
ap->_vptr$A = &_ZTV1A[2];
OBJ_TYPE_REF(*ap->_vptr$A;ap->0) (ap);
...
this = (struct B *) D.2076;
this->D.2018._vptr$A = &_ZTV1B[2];
ap.61 = &this->D.2018;
OBJ_TYPE_REF(*ap.61->_vptr$A;ap.61->0) (ap.61);
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35545