libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr104782.c
blob7b8ca6ca25bc0933b3e7e2a2ef6bcdf7a37bd685
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3" } */
3 /* { dg-additional-options "-march=armv8.2-a+sve -msve-vector-bits=128" { target aarch64-*-* } } */
5 int a, b, c;
6 static int d;
7 short *q;
8 void f() {
9 int *p = &d;
10 b = 9;
11 for (b = 9; b; b--) {
12 a = 2;
13 for (c = 2; c <= 9; c++) {
14 for (int i = 0; i < 3; i++)
15 *p |= (*q)++;