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
2016-03-10 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
alias-34.c
blob
5738feaffb18355f2ac87fe12a7e2236bd8a40a5
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fno-strict-aliasing -fdump-tree-optimized" } */
3
4
void
foo
(
int
b
)
5
{
6
void
*
p
;
7
lab
:
8
if
(
b
)
9
p
= &&
lab
;
10
else
11
{
12
lab2
:
13
p
= &&
lab2
;
14
}
15
*(
char
*)
p
=
1
;
16
}
17
18
/* We should keep the store to the label locations. */
19
/* { dg-final { scan-tree-dump " = 1;" "optimized" } } */