1 /* PR rtl-optimization/84169 */
2 
3 #ifdef __SIZEOF_INT128__
4 typedef unsigned __int128 T;
5 #else
6 typedef unsigned long long T;
7 #endif
8 
9 T b;
10 
11 static __attribute__ ((noipa)) T
foo(T c,T d,T e,T f,T g,T h)12 foo (T c, T d, T e, T f, T g, T h)
13 {
14   __builtin_mul_overflow ((unsigned char) h, -16, &h);
15   return b + h;
16 }
17 
18 int
main()19 main ()
20 {
21   T x = foo (0, 0, 0, 0, 0, 4);
22   if (x != -64)
23     __builtin_abort ();
24   return 0;
25 }
26