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

--- Comment #2 from Raphael C <drraph at gmail dot com> ---
You are quite right. This code shows the same issue:

int foo(int num) {
    int a = 0;
    for (int x = 0; x < num; x+=2) {
        a += x;
   }
    return a;
  }

Reply via email to