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

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
  if (_38 != 0)
    goto <bb 3>; [99.84%]
  else
    goto <bb 4>; [0.16%]

  <bb 3> [local count: 1072023840]:

  <bb 4> [local count: 966367642]:
  # prephitmp_51 = PHI <0(2), 8(3)>

Which comes from pre:

  if (_38 != 0)
    goto <bb 6>; [99.84%]
  else
    goto <bb 5>; [0.16%]

  <bb 5> [local count: 1073741824]:
  MEM[(unsigned long *)&bitint.4] = prephitmp_71;
  pretmp_57 = VIEW_CONVERT_EXPR<unsigned _BitInt(200)>(bitint.4);
  goto <bb 7>; [100.00%]

  <bb 6> [local count: 536870912]:
  VIEW_CONVERT_EXPR<unsigned long>(bitint.4) = 8;
  MEM <unsigned long[3]> [(unsigned long[4] *)&bitint.4 + 8B] = {};

  <bb 7> [local count: 966367642]:
  # prephitmp_51 = PHI <pretmp_57(5), 8(6)>


Before PRE:

  if (_46 != 0)
    goto <bb 9>; [80.00%]
  else
    goto <bb 8>; [20.00%]

  <bb 8> [local count: 1073741824]:
  _25 = MEM[(unsigned long *)&bitint.4];
  _26 = (unsigned int) _25;
  _2 = __builtin_ctz (_26);
  _19 = (unsigned long) _2;
  MEM[(unsigned long *)&bitint.4] = _19;
  MEM[(unsigned long *)&bitint.4 + 8B] = 0;
  MEM[(unsigned long *)&bitint.4 + 16B] = 0;
  MEM[(unsigned long *)&bitint.4 + 24B] = 0;
  goto <bb 10>; [100.00%]

  <bb 9> [local count: 536870912]:
  VIEW_CONVERT_EXPR<unsigned long>(bitint.4) = 8;
  MEM <unsigned long[3]> [(unsigned long[4] *)&bitint.4 + 8B] = {};

  <bb 10> [local count: 966367642]:
  _18 = VIEW_CONVERT_EXPR<unsigned _BitInt(200)>(bitint.4);


So yes this is a dup.

*** This bug has been marked as a duplicate of bug 128999 ***

Reply via email to