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

Alex Coplan <acoplan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-03-25
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
                 CC|                            |acoplan at gcc dot gnu.org

--- Comment #1 from Alex Coplan <acoplan at gcc dot gnu.org> ---
Confirmed. Here is a testcase without the includes:

typedef float a __attribute__((__mode__(HF)));
typedef struct {
  a b;
  a c;
} d;
int e;
d *f, *g;
__fp16 h;
void j() {
  for (int i;; ++i) {
    auto l = &f[i];
    for (int k; k < e;) {
      k = 0;
      for (; k < e; ++k)
        g[k].b = l[k].b * l[k].c;
    }
    for (int k; k < e; ++k) {
      g[k].b *= h;
      g[k].c *= h;
    }
  }
}

Reply via email to