aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/bitint-92.c
blob: c567d63f007e7036185545920d903f6bdb3701da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR rtl-optimization/114054 */
/* { dg-do compile { target bitint } } */
/* { dg-options "-Og -fwhole-program -fno-tree-ccp -fprofile-use -fno-tree-copy-prop -w" } */

int x;

void
foo (int i, unsigned u)
{
  x = __builtin_mul_overflow_p ((unsigned _BitInt(1)) u, i, (_BitInt(33)) 0);
}

int
main ()
{
  foo (11, 0);
}