gimple-ssa-warn-restrict: Only use type range from NOP_EXPR for non-narrowing convers...
[official-gcc.git] / gcc / testsuite / gcc.dg / bitint-74.c
blob91143320dab2945a1e3e66613bd68144dd065e21
1 /* PR tree-optimization/113463 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-std=c23 -O2" } */
5 extern char *a, *b;
6 #if __BITINT_MAXWIDTH__ >= 129
7 _BitInt(129) o;
8 #else
9 _BitInt(63) o;
10 #endif
12 void
13 foo (void)
15 __builtin_memcpy (a + o, b, 4);