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
/
torture
/
pr82603.c
blob
960a48bbd3a5aed58b5296e87bbea609dcc911c2
1
/* { dg-do compile } */
2
/* { dg-additional-options "-ftree-loop-vectorize" } */
3
4
int
5
mr
(
unsigned int
lf
,
int
ms
)
6
{
7
unsigned int
sw
=
0
;
8
char
*
cu
= (
char
*)&
ms
;
9
10
while
(
ms
<
1
)
11
{
12
if
(
lf
==
0
)
13
ms
=
0
;
14
else
15
ms
=
0
;
16
ms
+= ((
lf
>
0
) && ((
lf
>
sw
) ?
1
: ++*
cu
));
17
}
18
19
if
(
lf
!=
0
)
20
cu
= (
char
*)&
sw
;
21
*
cu
=
lf
;
22
23
return
ms
;
24
}