PR tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr65170.c
blob60c00523e349994b7052806fa3cf7cb00e36401e
1 /* PR tree-optimization/65170 */
3 #ifdef __SIZEOF_INT128__
4 typedef unsigned __int128 V;
5 typedef unsigned long long int H;
6 #else
7 typedef unsigned long long int V;
8 typedef unsigned int H;
9 #endif
11 __attribute__((noinline, noclone)) void
12 foo (V b, V c)
14 V a;
15 b &= (H) -1;
16 c &= (H) -1;
17 a = b * c;
18 if (a != 1)
19 __builtin_abort ();
22 int
23 main ()
25 foo (1, 1);
26 return 0;