Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr84068.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
rev | line source |
---|---|
131 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O2 -fno-sched-critical-path-heuristic -fno-sched-rank-heuristic --param=max-sched-extend-regions-iters=5 --param sched-pressure-algorithm=2" } */ | |
3 | |
4 #ifdef __SIZEOF_INT128__ | |
5 typedef __int128 largeint; | |
6 #else | |
7 typedef long long largeint; | |
8 #endif | |
9 | |
10 largeint a; | |
11 int b; | |
12 | |
13 largeint | |
14 foo (char d, short e, int f) | |
15 { | |
16 b = __builtin_sub_overflow_p (b, 1, (unsigned long)0); | |
17 return a + f; | |
18 } |