repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
middle-end: copy STMT_VINFO_STRIDED_P when DR is replaced [PR116956]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr109469.c
blob
d05a93b67833b9802c90e16a9670c530b0ec1620
1
/* { dg-do compile } */
2
3
__attribute__
((
returns_twice
))
int
foo
();
4
5
struct
xio myproc
;
6
struct
xio
{
7
void
(*
read_proc
)();
8
void
(*
write_proc
)();
9
};
10
11
void
dummy_write_proc
() {
12
switch
(
foo
())
13
default
:
14
myproc
.
read_proc
=
myproc
.
write_proc
=
dummy_write_proc
;
15
}