blob: df478575e8d1ca915c1819e7e58b341a54d08822 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* PR tree-optimization/119707 */
/* { dg-do run { target bitint } } */
#if __BITINT_MAXWIDTH__ >= 256
__attribute__((noipa)) unsigned _BitInt(256)
foo (unsigned _BitInt(256) x, _BitInt(129) y)
{
return x + (unsigned _BitInt(255)) y;
}
#endif
int
main ()
{
#if __BITINT_MAXWIDTH__ >= 256
if (foo (0, -1) != 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffuwb)
__builtin_abort ();
#endif
}
|