aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr103775.c
blob: 4a8c0d6d1454470e44a7987a07047fe3e3694c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR rtl-optimization/103775 */
/* { dg-do assemble { target int128 } } */
/* { dg-options "-Og -fno-forward-propagate -free -g" } */

int
foo (char a, short b, int c, __int128 d, char e, short f, int g, __int128 h)
{
  long i = __builtin_clrsbll ((char) h);
  __builtin_memset ((char *) &h + 4, d, 3);
  c &= (char) h;
  return c + i;
}