gcc/testsuite/gcc.c-torture/compile/pr110444-1.c
raw| 1 | /* This used to ICE after SLP during match-and-simplify |
| 2 | as real_can_shorten_arithmetic was called with the vector |
| 3 | mode. */ |
| 4 | void f(float *a, float *b, float *c, int size) |
| 5 | { |
| 6 | float t[2]; |
| 7 | t[0] = b[0] - (float)__builtin_pow(c[0], 2); |
| 8 | t[1] = b[1] - (float)__builtin_pow(c[1], 2); |
| 9 | a[0] = t[0]; |
| 10 | a[1] = t[1]; |
| 11 | } |