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
/
pr114203.c
blob
0ef6279942a8e48201251cb820e3c7bf382fccd8
1
/* { dg-do run } */
2
3
int
__attribute__
((
noipa
))
4
foo
(
unsigned char
b
)
5
{
6
int
c
=
0
;
7
8
while
(
b
) {
9
b
>>=
1
;
10
c
++;
11
}
12
13
return
c
;
14
}
15
16
int
main
()
17
{
18
if
(
foo
(
0
) !=
0
)
19
__builtin_abort
();
20
return
0
;
21
}