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 inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20030221-1.c
blob
9dcee3e23384cfd2b745a7cce14f0843d552e0f8
1
/* PR optimization/8613 */
2
/* Contributed by Glen Nakamura */
3
4
extern
void
abort
(
void
);
5
6
int
main
(
void
)
7
{
8
char
buf
[
16
] =
"1234567890"
;
9
char
*
p
=
buf
;
10
11
*
p
++ = (
char
)
__builtin_strlen
(
buf
);
12
13
if
((
buf
[
0
] !=
10
) || (
p
-
buf
!=
1
))
14
abort
();
15
16
return
0
;
17
}