mve: Fix vsetq_lane for 64-bit elements with lane 1 [PR 115611]
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / bitint-59.c
blobef17424dfa8518ac7b224292a269188ffa01e639
1 /* PR tree-optimization/114038 */
2 /* { dg-do run { target bitint } } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
4 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O0" "-O2" } } */
5 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
7 #if __BITINT_MAXWIDTH__ >= 129
8 int
9 foo (unsigned _BitInt(63) x, unsigned _BitInt(129) y)
11 return __builtin_mul_overflow_p (y, x, 0);
13 #endif
15 int
16 main ()
18 #if __BITINT_MAXWIDTH__ >= 129
19 if (!foo (90, 0x80000000000000000000000000000000uwb))
20 __builtin_abort ();
21 #endif