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

Sergei Trofimovich <slyfox at inbox dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slyfox at inbox dot ru

--- Comment #5 from Sergei Trofimovich <slyfox at inbox dot ru> ---
Slightly shorter reproduced (shrunk with creduce):

// a.c
int a, b, c;
int e(int h) {
  double d;
  int f = 1;
  while (b < 1) {
    c = d + f;
    if (b)
      a /= h;
    else {
      long unsigned g;
      f = 0;
      d = h / g + h;
    }
    b = a / 3;
  }
}

// command:
// x86_64-pc-linux-gnu-gcc-8.2.0 -c a.c -march=haswell -O2
-fselective-scheduling2 -fsel-sched-pipelining -fno-tree-ch -fno-tree-loop-im

Reply via email to