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
2018-01-16 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr46052.c
blob
3de8109107a868f8a3fca513d53ca7e04c571f2f
1
/* { dg-do compile } */
2
3
int
i
;
4
int
a
[
2
];
5
6
static
inline
char
bar
(
void
)
7
{
8
return
i
?
i
:
1
;
9
}
10
11
void
foo
(
int
n
)
12
{
13
while
(
n
--)
14
{
15
a
[
0
] ^=
bar
();
16
a
[
1
] ^=
bar
();
17
}
18
}
19
20
static
inline
char
bar1
(
void
)
21
{
22
}
23
24
void
foo1
(
int
n
)
25
{
26
while
(
n
--)
27
{
28
a
[
0
] ^=
bar1
();
29
a
[
1
] ^=
bar1
();
30
}
31
}
32