PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr64807.c
blobe1bd604be007aafe87b07bc41d19dbce9baf4b83
1 /* PR tree-optimization/64807 */
2 /* { dg-do run { target int128 } } */
3 /* { dg-options "-O2" } */
5 __uint128_t
6 foo (void)
8 __uint128_t a = -1;
9 __uint128_t b = -1;
10 return a / b;
13 int
14 main ()
16 if (foo () != 1)
17 __builtin_abort ();
18 return 0;