https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123099
--- Comment #3 from uis <uis9936 at gmail dot com> ---
Versions I commented were good.
Here I uncommented the worst ones on trunk:
```
bool nozeros (__attribute__((vector_size(sizeof(unsigned int)*4))) unsigned int
i) {
//auto t = i == 0; return !(t[0]||t[1]||t[2]||t[3]);
//auto t = i; return t[0]&&t[1]&&t[2]&&t[3];
auto t = i != 0; return t[0]&&t[1]&&t[2]&&t[3];
}
bool anynonzero (__attribute__((vector_size(sizeof(unsigned int)*4))) unsigned
int i) {
//auto t = i != 0; return (t[0]||t[1]||t[2]||t[3]);
//auto t = i; return (t[0]||t[1]||t[2]||t[3]);
auto t = i == 0; return !(t[0]&&t[1]&&t[2]&&t[3]);
}
```
https://gcc.godbolt.org/z/TE8refq6c