libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr98766.c
blobd388fd2aa87f90b03872a232f9334c7012136d13
1 /* PR tree-optimization/98766. */
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*-*-* } } */
7 extern int a[];
8 void c(short *d) {
9 for (int e = 0; e < 9; e++)
10 a[e] = d[e] * 2;