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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-11-16
             Status|UNCONFIRMED                 |NEW

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Before phiopt, we have:
  if (func_14_uli_8.0_1 != 0)
    goto <bb 3>; [50.00%]
  else
    goto <bb 4>; [50.00%]

  <bb 3> [local count: 805306369]:
  _11 = pretmp_13 & 5;
  goto <bb 5>; [100.00%]

  <bb 4> [local count: 536870913]:
  if (pretmp_13 != 0)
    goto <bb 3>; [50.00%]
  else
    goto <bb 5>; [50.00%]

  <bb 5> [local count: 1073741824]:
  # prephitmp_12 = PHI <_11(3), 0(4)>

There must be a missing check (In reply to Andrew Pinski from comment #1)
> Most likely caused by r12-5300-gf98f373dd822b35c .

It actually worked at that point. r12-5301-g045206450386bcd77 did cause some IR
changes but I do think this just exposed a bug in r12-5300.

Reply via email to