https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116421
Bug ID: 116421
Summary: s390: vector-subscript-4.c FAILS on z16
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: mpolacek at gcc dot gnu.org
Target Milestone: ---
Running c-c++-common/vector-subscript-4.c with -march=z13 up to -march=z16
results in:
FAIL: c-c++-common/vector-subscript-4.c -Wc++-compat scan-tree-dump-not
optimized "vector"
It can be seen e.g. here
https://gcc.gnu.org/pipermail/gcc-testresults/2024-August/821419.html.
We generate:
```
int foo2 (int x, v2si v)
{
int _1;
int _2;
int _3;
int _7;
vector(2) int _8;
<bb 2> [local count: 1073741824]:
_1 = BIT_FIELD_REF <v, 32, 0>;
_2 = BIT_FIELD_REF <v, 32, 32>;
_3 = _1 ^ _2;
BIT_FIELD_REF <v, 32, 0> = _3;
_8 = v;
_7 = .VEC_EXTRACT (_8, x_6(D));
return _7;
}
```