https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98744

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ipa                         |c++

--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> ---
This is the gimple dump (omitting only function main), note the mismatch
between formal parameters of B::B and the actual arguments of its call:

void C::C (struct C * const this)
{
  *this = {CLOBBER};
  {
    this->D.2385._vptr.B = 0B;
    _1 = &this->D.2385;
    B::B (_1);
    _2 = &_ZTV1C + 24;
    this->D.2385._vptr.B = _2;
  }
}


void B::B (struct B * const this, const void * * __vtt_parm)
{
  _1 = *__vtt_parm;
  this->_vptr.B = _1;
}

Reply via email to