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

--- Comment #5 from Vitaly Chikunov <vt at altlinux dot org> ---
I experimented with `_mm256_extract_epi16` too and loop liek this worked too:

```
# pragma GCC unroll 16
        for (size_t i = 0; i < 16; i++) {
                printf(" %04x", _mm256_extract_epi16(tmp, i));
        }
```

That's why I started to experiment with `#pragma GCC unroll 16` for the 2nd
test case.

Curiously, in `liboqs` adding the pragma removes the `‘tmp’ is used
uninitialized` warning (while w/o pragma it compiles with warning), but in
reproducer it acts contrary - with the pragma it causes warning and w/o pragma
it compiles quietly.

Reply via email to