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
Merge trunk at revision 160193 into branch.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
foldaddr-3.c
blob
b764187a029f335860e0cb826b9dcf3ee208e96d
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fdump-tree-optimized" } */
3
union
a
4
{
5
struct
s1
6
{
7
long long
a
;
8
long long
b
;
9
}
s1
;
10
struct
s2
11
{
12
int
c
;
13
int
d
;
14
}
s2
;
15
struct
s3
16
{
17
unsigned long long
e
;
18
unsigned long long
f
;
19
}
s3
;
20
}
a
;
21
int
*
22
t
()
23
{
24
return
(
int
*) &
a
;
25
}
26
27
/* { dg-final { scan-tree-dump "a.s2.c" "optimized"} } */
28
/* { dg-final { cleanup-tree-dump "optimized" } } */