[Bug tree-optimization/86489] ICE in gimple_phi_arg starting with r261682 when building 531.deepsjeng_r with FDO + LTO

sudi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 12 15:02:00 GMT 2018


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

sudi at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2018-7-12
                 CC|                            |sudi at gcc dot gnu.org

--- Comment #6 from sudi at gcc dot gnu.org ---
(In reply to kugan from comment #1)
> Sorry about the breakage, I am trying to reproduce it on x86-64. Please let
> me know if you have testcase.

This can reproduce the failure:

int a = 0, b = 0;
void fn1() {
  int c = 0;
  for (; a; a--)
    c += b;
  while ((c - 1) & c)
    ;
}


More information about the Gcc-bugs mailing list