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

Arseny Solokha <asolokha at gmx dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |asolokha at gmx dot com

--- Comment #1 from Arseny Solokha <asolokha at gmx dot com> ---
Maybe the following snippet can help in refining the culprit revision?

int zp, uj, rb;

static int
ip (int *mh, int ot)
{
  unsigned int cf;

  if (zp == 0 || uj == 0 || rb == 0)
    return 0;

  for (uj = 0; uj < 2; ++uj)
    {
      int w2;

      for (w2 = 0; w2 < ot; ++w2)
        {
          cf = mh[w2];
          continue;
        }
    }

  return cf;
}

int
main (void)
{
  int d3[2] = { 0 };

  return ip (d3, 2);
}

% gcc-7.0.0-alpha20170402 -O1 -floop-parallelize-all -c xzddkrbs.c              
xzddkrbs.c: In function 'main':
xzddkrbs.c:26:1: internal compiler error: in check_loop_closed_ssa_use, at
tree-ssa-loop-manip.c:704
 main (void)
 ^~~~

After a slight modification I'm also able to make gcc ICE w/
-floop-nest-optimize instead of -floop-parallelize-all.

Reply via email to