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
/
foldaddr-3.c
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" } } */