middle-end: copy STMT_VINFO_STRIDED_P when DR is replaced [PR116956]
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr109469.c
blobd05a93b67833b9802c90e16a9670c530b0ec1620
1 /* { dg-do compile } */
3 __attribute__((returns_twice)) int foo();
5 struct xio myproc;
6 struct xio {
7 void (*read_proc)();
8 void (*write_proc)();
9 };
11 void dummy_write_proc() {
12 switch (foo())
13 default:
14 myproc.read_proc = myproc.write_proc = dummy_write_proc;