Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/bcopy-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* PR middle-end/31095, expand_builtin_memmove_args forgot to take into account that tree folding of builtins can add an extra NOP_EXPR. */ struct timeval { int tv_sec; int tv_usec; }; void capture_next_packet (void) { struct timeval past, now, then; __builtin_bcopy (&then, &past, sizeof (then)); }