[PR81647][AARCH64] Fix handling of Unordered Comparisons in aarch64-simd.md
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / pr66912.c
blobb8aabcd3b130cdae23295ab5c3b4d69fb3ae1556
1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-options "-O2 -fpic" } */
4 __attribute__((visibility("protected")))
5 int n_common;
7 __attribute__((weak, visibility("protected")))
8 int n_weak_common;
10 __attribute__((visibility("protected")))
11 int n_init = -1;
13 __attribute__((weak, visibility("protected")))
14 int n_weak_init = -1;
16 int
17 f1 ()
19 /* { dg-final { scan-assembler ":got(page_lo15)?:n_common" } } */
20 return n_common;
23 int
24 f2 ()
26 /* { dg-final { scan-assembler ":got(page_lo15)?:n_weak_common" } } */
27 return n_weak_common;
30 int
31 f3 ()
33 /* { dg-final { scan-assembler ":got(page_lo15)?:n_init" } } */
34 return n_init;
37 int
38 f4 ()
40 /* { dg-final { scan-assembler ":got(page_lo15)?:n_weak_init" } } */
41 return n_weak_init;