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