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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
slsr-42.c
blob
0495fcf94e24444c13d301e974a1b623456078d4
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-slsr-details" } */
3
4
struct
x
5
{
6
int
a
[
16
];
7
int
b
[
16
];
8
};
9
10
void
11
set
(
struct
x
*
p
,
unsigned int
n
,
int
i
)
12
{
13
p
->
a
[
n
] =
i
;
14
p
->
b
[
n
] =
i
;
15
}
16
17
/* { dg-final { scan-tree-dump-not "Replacing reference: " "slsr" { target i?86-*-* x86_64-*-* } } } */