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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Reduced test-case:

$ cat x.i
int *loopy_kernel_expr9;

void loopy_kernel() {
  _Complex var_e9_11;
  double var_e9_15;
  ;
  ;
  double var_e9_6;
  ;
  loopy_kernel_expr9[0] /
      ((((var_e9_6 *
              (0 - 0 / var_e9_11 + 699.0 + 7.050460596289373 - 286.0 -
               +-4.659839407494593 + 1.5759632377305621 + 0) *
              0 -
          3.287790705257411 + 4.226175928534705 + 0)) *
            var_e9_15 +
        5.065182909294865) *
           1.2325048646197416 * 0 * 0 -
       8.459732847790127 + 0 + 88.0 + 6.967677749063906 + 867.0 +
       9.104465770830789 - 7.042039895022722 * -1.0);
}

$ time gcc-7 x.i -c

real    0m0.028s
user    0m0.007s
sys     0m0.021s

$ time gcc-12 x.i -c

real    0m1.675s
user    0m1.656s
sys     0m0.018s

Reply via email to