gcc/testsuite/gcc.dg/pr98766.c
raw| 1 | /* PR tree-optimization/98766. */ |
| 2 | |
| 3 | /* { dg-do compile } */ |
| 4 | /* { dg-options "-O3 --param=avoid-fma-max-bits=8 " } */ |
| 5 | /* { dg-additional-options "-march=armv8.2-a+sve" { target aarch64*-*-* } } */ |
| 6 | |
| 7 | extern int a[]; |
| 8 | void c(short *d) { |
| 9 | for (int e = 0; e < 9; e++) |
| 10 | a[e] = d[e] * 2; |
| 11 | } |
| 12 |