Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr93376.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
rev | line source |
---|---|
145 | 1 /* PR target/93376 */ |
2 /* { dg-do compile { target int128 } } */ | |
3 /* { dg-options "-Og -finline-functions-called-once" } */ | |
4 | |
5 unsigned a, b, c; | |
6 | |
7 int | |
8 bar (int x) | |
9 { | |
10 short s = __builtin_sub_overflow (~x, 0, &b); | |
11 a = __builtin_ffsll (~x); | |
12 return __builtin_add_overflow_p (-(unsigned __int128) a, s, | |
13 (unsigned __int128) 0); | |
14 } | |
15 | |
16 void | |
17 foo (void) | |
18 { | |
19 c = bar (0); | |
20 } |