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
* gcc.dg/lto/20080924_0.c: Fix defaulting to int.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
20080924_0.c
blob
86e22f0c8dcb7f8dee462940cf58c5d543c23edf
1
/* { dg-lto-do assemble } */
2
/* { dg-lto-options {{-O2 -flto -funsigned-char}} } */
3
typedef
unsigned int size_t
;
4
void
5
foo
(
const char
*
src
,
unsigned char
*
dst
,
size_t
size
)
6
{
7
int
ch
;
8
while
((
ch
= *
src
++) !=
'\0'
) {
9
}
10
}