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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
store_merging_17.c
blob
76e6b638e746a84bbac41ed19867fd650db453f8
1
/* PR tree-optimization/83241 */
2
/* { dg-do compile { target store_merge } } */
3
/* { dg-options "-O2" } */
4
5
struct
S
{
int
a
;
short
b
[
32
]; }
e
;
6
struct
T
{
volatile
int
c
;
int
d
; }
f
;
7
8
void
9
foo
()
10
{
11
struct
T g
=
f
;
12
e
.
b
[
0
] =
6
;
13
e
.
b
[
1
] =
6
;
14
e
.
b
[
4
] =
g
.
d
;
15
e
.
b
[
5
] =
g
.
d
>>
16
;
16
e
.
a
=
1
;
17
}