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
PR testsuite/52641
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
upcast-1.c
blob
12c2b91ba08d8cfaacc64db3e97e30a300f4a8dd
1
/* { do-go compile } */
2
/* { dg-options "-fdump-tree-gimple" } */
3
4
typedef
struct
{
int
i
; }
Foo
;
5
Foo foo
;
6
Foo
*
bar
(
void
)
7
{
8
return
(
Foo
*)&
foo
.
i
;
9
}
10
11
/* { dg-final { scan-tree-dump "&foo;" "gimple" } } */
12
/* { dg-final { cleanup-tree-dump "gimple" } } */