aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/bitint-48.c
blob: 8701ebb9b6edd01489c4e2d9e8b227d278736462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* PR tree-optimization/112809 */
/* { dg-do compile { target bitint } } */
/* { dg-options "-O2" } */

#if __BITINT_MAXWIDTH__ >= 512
_BitInt (512) a;
_BitInt (256) b;
_BitInt (256) c;

int
foo (void)
{
  return a == (b | c);
}

void
bar (void)
{
  a /= b - 2;
}
#else
int i;
#endif