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
2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr26421.c
blob
73db85c17da00b55455b8a2cf257f53b6bb99a50
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-alias-vops" } */
3
4
typedef
struct
{
5
int
i
;
6
int
j
;
7
int
k
;
8
}
Foo
;
9
10
void
bar
(
Foo
*);
11
int
foo
(
void
)
12
{
13
Foo a
;
14
a
.
i
=
1
;
15
bar
(&
a
);
16
return
a
.
i
;
17
}
18
19
/* Verify the call clobbers all of a. */
20
21
/* { dg-final { scan-tree-dump-times "VDEF <a_" 2 "alias" } } */
22
/* { dg-final { cleanup-tree-dump "alias" } } */