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

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
release_ssa dump of the object file:

;; Function nsSafeFileOutputStreamConstructor(nsISupports*, nsID const&,
void**) (_ZL33nsSafeFileOutputStreamConstructorP11nsISupportsRK4nsIDPPv,
funcdef_no=17674, decl_uid=332170, cgraph_uid=11812, symbol_order=12340)

Released 34 names, 340.00%, removed 34 holes
nsSafeFileOutputStreamConstructor(nsISupports*, nsID const&, void**) (struct
nsISupports * aOuter, const struct nsIID & aIID, void * * aResult)
{
  nsresult _1;
  nsresult _2;

  <bb 2>:
  *aResult_4(D) = 0B;
  if (aOuter_6(D) != 0B)
    goto <bb 4>;
  else
    goto <bb 3>;

  <bb 3>:
  _2 = nsSafeFileOutputStreamConstructor (aIID_8(D), aResult_4(D));

  <bb 4>:
  # _1 = PHI <2147746064(2), _2(3)>
  return _1;

}

ipa-devirt dump of the
_ZL33nsSafeFileOutputStreamConstructorP11nsISupportsRK4nsIDPPv.part.50:

Procesing function
_ZL33nsSafeFileOutputStreamConstructorP11nsISupportsRK4nsIDPPv.part.50/986945
  Targets of polymorphic call of type 5592:struct nsAtomicFileOutputStream
token 0
    Speculative outer type:struct nsFileStreamBase at offset 0
    This is partial list; extra targets may be defined in other units. (base
types included) (derived types included)
       nsAtomicFileOutputStream::QueryInterface/440618
nsCheckSummedOutputStream::QueryInterface/13271075

Dropping polymorphic call info; it can not be used by ipa-prop
More than one likely target

  Targets of polymorphic call of type 5592:struct nsAtomicFileOutputStream
token 2
    Speculative outer type:struct nsFileStreamBase at offset 0
    This is partial list; extra targets may be defined in other units. (base
types included) (derived types included)
       nsAtomicFileOutputStream::Release/440632
nsCheckSummedOutputStream::Release/13271089

Dropping polymorphic call info; it can not be used by ipa-prop
More than one likely target

Reply via email to