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
/
pr97396.c
blob
d992c11f2387cd6f0d90a3eef4ffe7ee12b4e8a6
1
// { dg-do compile }
2
// { dg-options "-O1 -ftree-vrp" }
3
// { dg-additional-options "-m32" { target { i?86-*-* x86_64-*-* } } }
4
5
unsigned int
6
po
(
char
*
os
,
unsigned int
al
)
7
{
8
for
(;;)
9
{
10
int
qx
=
0
;
11
12
while
(
al
<
1
)
13
{
14
char
*
cw
;
15
16
cw
=
os
+
qx
;
17
if
(
cw
)
18
return
al
+
qx
;
19
20
qx
+=
sizeof
*
cw
;
21
}
22
}
23
}