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
foo(char d,short e,int f)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 }
19