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
PR target/55146
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr46052.c
blob
c32a93d07d812a8a03fe0c5184035ce8b70d8375
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
33
/* { dg-final { cleanup-tree-dump "vect" } } */