[Bug tree-optimization/69579] [4.9/5/6 Regression] gcc ICE at -O3 and __sigsetjmp with “tree check?=: expected ssa name,=?UTF-8?Q? have integer_cst in compute_optimized_partition_bases”

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 1 11:10:00 GMT 2016


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Cleaned up testcase:

extern int __sigsetjmp (void *);

int
foo (int *x, void *y)
{
  int i = 1;
  __sigsetjmp (y);
  while (i)
    {
      for (i = 0; i < (x ? *x : 1); i++)
        foo (x, y);
    }
  return 1;
}

A non-SSA_NAME PHI argument from ab edge appears during the cunroll pass.


More information about the Gcc-bugs mailing list