diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr117816.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr117816.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr117816.c b/gcc/testsuite/gcc.dg/pr117816.c new file mode 100644 index 0000000..6a9fc5f --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr117816.c @@ -0,0 +1,11 @@ +/* { dg-do compile } */ +/* { 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); +} |