aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr99830.c
blob: 75226f5c3a940a3097617f94880b4829cc806246 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR debug/99830 */
/* { dg-do compile { target int128 } } */
/* { dg-options "-O2 -fno-expensive-optimizations -fno-split-wide-types -g" } */

int foo (long a, __int128 b, short c, int d, unsigned e, __int128 f)
{
  __builtin_memmove (2 + (char *) &f, foo, 1);
  c >>= (char) f;
  return c;
}