gcc 5.4.0-6ubuntu1~16.04.4 internal compiler error: in simplify_binary_operation_1, at simplify-rtx.c:3619
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Fix Released
|
Medium
|
|||
gcc-5 (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When building stress-ng (from git://kernel.
cc -g -O3 -fstack-
stress-vecmath.c: In function ‘stress_vecmath’:
stress-
}
^
The source code that trips this issue: http://
This builds OK on Yakkety upwards.
Attached is the full build log from the PPA.
Changed in gcc-5 (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gcc: | |
status: | New → Fix Released |
Reduced test case:
typedef __uint128_t vint128_t __attribute_ _((vector_ size(16) ));
vint128_t z;
int x, y;
void fn2(void);
void fn1(void)
{
vint128_t c;
y = 1000;
for (; y; y--) {
c = c ^ x;
z -= c;
z ^= x;
c = c ^ x;
}
fn2();
}