projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 ...
[gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
upcast-1.c
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" } } */