summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr91860-3.c
blob: 2b488cc9048128d1cc3d46737c67c90b55ff369d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-Og -g2 --param=max-combine-insns=3" } */

int a, b;

void
foo (void)
{
  unsigned short d = 46067;
  int e = e;
  d <<= __builtin_mul_overflow (~0, e, &a);
  d |= -68719476735;
  b = d;
}