Handle symbol visibility/locality for PIE/PIC
[official-gcc.git] / gcc / testsuite / c-c++-common / pr59032.c
blob327f5aeb6bc2898e44ac2333d0ee44a2dee79226
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 void
5 foo()
7 float v __attribute__((vector_size(8)));
8 v++;
11 void
12 foo2 ()
14 float v __attribute__((vector_size(8)));
15 ++v;
18 void
19 foo3 ()
21 float v __attribute__((vector_size(8)));
22 v--;
25 void
26 foo4 ()
28 float v __attribute__((vector_size(8)));
29 --v;