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
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ssa-fre-17.c
blob
8695bcf6a2c4536b67a279fd5e0c13e29af4109b
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-fre1-details -fno-tree-sra" } */
3
4
struct
Bar
{
5
int
dom
;
6
};
7
struct
Foo
{
8
struct
Bar doms
[
3
];
9
};
10
11
int
foo
(
int
i
,
int
j
,
int
k
)
12
{
13
struct
Foo f
;
14
15
f
.
doms
[
0
].
dom
=
i
;
16
f
.
doms
[
1
].
dom
=
j
;
17
f
.
doms
[
2
].
dom
=
k
;
18
return
f
.
doms
[
0LL
].
dom
;
19
}
20
21
/* { dg-final { scan-tree-dump "Replaced f.doms\\\[0\\\].dom with i_" "fre1" } } */
22