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

--- Comment #14 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Uroš Bizjak from comment #13)
> A wild guess: you are compiling for TARGET_XOP?

Not sure. bdver2.

Reduced C code:

typedef float DBL;
struct {
  DBL c_x, c_y
} Random_Simis_Cur;
Random_Simis_i;
DBL Gauss_Rand() {
  int __trans_tmp_1;
  DBL S, y = exp(S) / 0;
  if (__trans_tmp_1)
    return y;
  return -y;
}
draw_ifs() {
  while (Random_Simis_i--) {
    Random_Simis_Cur.c_x = Gauss_Rand();
    Random_Simis_Cur.c_y = Gauss_Rand();
  }
}

Command line is

$ /home/dcb/gcc/results/bin/gcc -c -w -O3 -march=bdver2 -ffast-math bug717.c

Reply via email to