PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr84169.c
blobba8f8fc4c05d83a63c2af564762cf86e1687b071
1 /* PR rtl-optimization/84169 */
3 #ifdef __SIZEOF_INT128__
4 typedef unsigned __int128 T;
5 #else
6 typedef unsigned long long T;
7 #endif
9 T b;
11 static __attribute__ ((noipa)) T
12 foo (T c, T d, T e, T f, T g, T h)
14 __builtin_mul_overflow ((unsigned char) h, -16, &h);
15 return b + h;
18 int
19 main ()
21 T x = foo (0, 0, 0, 0, 0, 4);
22 if (x != -64)
23 __builtin_abort ();
24 return 0;