OSDN Git Service

PR middle-end/51761
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / bcopy-1.c
1 /* PR middle-end/31095, expand_builtin_memmove_args forgot to take into
2    account that tree folding of builtins can add an extra NOP_EXPR.   */
3
4 struct timeval
5 {
6   int tv_sec;
7   int tv_usec;
8 };
9 void
10 capture_next_packet (void)
11 {
12   struct timeval past, now, then;
13   __builtin_bcopy (&then, &past, sizeof (then));
14 }