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
/
alias-13.c
1
/* { dg-do link } */
2
/* { dg-options "-O2" } */
3
4
5
struct
a
6
{
7
char
a1
;
8
};
9
10
int
*
aa
;
11
12
void
g
(
int
*
a
)
13
{
14
aa
=
a
;
15
*
a
=
2
;
16
}
17
18
int
t
(
int
i
,
struct
a
*
b
)
19
{
20
g
(&
i
);
21
b
->
a1
=
1
;
22
i
=
2
;
23
if
(
b
->
a1
!=
1
)
24
link_failure
();
25
}
26
int
main
(
void
)
27
{
28
struct
a b
;
29
t
(
1
, &
b
);
30
return
0
;
31
}
32
33