Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/pr116229.c

raw
1 /* { dg-do run } */
2 /* { dg-options "-O2 -fno-signed-zeros" } */
3
4 typedef __attribute__((__vector_size__ (8))) unsigned long V;
5
6 V __attribute__((__noipa__))
7 foo (void)
8 {
9 return (V){ 0x8000000000000000 };
10 }
11
12 V ref = (V){ 0x8000000000000000 };
13
14 int
15 main ()
16 {
17 V v = foo ();
18 if (v[0] != ref[0])
19 __builtin_abort();
20 }