libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr97760.c
blobda5ac937a435f64f6e9f2b5bc8847c80f29825aa
1 #include "tree-vect.h"
3 int b=1;
4 static int *g = &b;
6 void __attribute__((noipa))
7 h (unsigned int n)
9 int i = 3;
10 int f = 3;
11 for (; f <= 50; f += 4) {
12 i += 4;
13 *g = i;
14 i += n;
18 int main ()
20 check_vect ();
22 h (9);
23 if (*g != 150 || b != 150)
24 __builtin_abort ();
25 return 0;