aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr117816.c
blob: bd37a5bb0e195c5cd6d736671a5165fd62ceb8f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile { target { int32plus } } } */
/* { dg-options "-O -fnon-call-exceptions -favoid-store-forwarding -fno-forward-propagate -finstrument-functions" } */

char *p;
int y;
long x;

void foo()
{
  x /= *(int *)__builtin_memmove(&y, 4 + p, 3);
}