]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/pr93412.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr93412.c
1 /* PR target/93412 */
2 /* { dg-do compile { target int128 } } */
3 /* { dg-options "-Og" } */
4
5 unsigned char a;
6 int b;
7 unsigned c;
8
9 int
10 foo (int e, int f, int g, int h, int k, int i, short j)
11 {
12 b = __builtin_add_overflow (a, 0, &c);
13 b = __builtin_add_overflow_p (b, a, (unsigned __int128) 0) ? b : 0;
14 return e + f + g + a + h + k + i + j + c;
15 }