Debian Codegraph @

gcc/testsuite/gcc.dg/pr102140.c

raw
1 /* PR target/102140 */
2 /* { dg-do compile { target int128 } } */
3 /* { dg-options "-Og -fipa-cp -fno-tree-ccp -fno-tree-ter -Wno-psabi" } */
4
5 typedef int __attribute__((__vector_size__ (64))) U;
6 typedef __int128 __attribute__((__vector_size__ (64))) V;
7
8 int a, b;
9
10 static void
11 bar (char c, V v)
12 {
13 v *= c;
14 U u = a + (U) v;
15 (union { U b; }) { u };
16 b = 0;
17 }
18
19 void
20 foo (void)
21 {
22 bar (1, (V){((__int128) 9223372036854775808ULL) << 64});
23 }