Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/pr19853.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
struct test { int *x; } global_test; int global_int; int flag; void test (char *dummy) { static const struct test const_test = { &global_int }; struct test local_test; int i; for (i = 0; i < 1; i++) *dummy = 0; if (flag) __builtin_memset (dummy, 0, 16); local_test = const_test; global_test = local_test; }