repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20021011-1.c
blob
b1b2c406a712e28308611c8f2620e04ae412a0ad
1
/* PR opt/8165. */
2
3
extern
void
abort
(
void
);
4
5
char
buf
[
64
];
6
7
int
8
main
(
void
)
9
{
10
int
i
;
11
12
__builtin_strcpy
(
buf
,
"mystring"
);
13
if
(
__builtin_strcmp
(
buf
,
"mystring"
) !=
0
)
14
abort
();
15
16
for
(
i
=
0
;
i
<
16
; ++
i
)
17
{
18
__builtin_strcpy
(
buf
+
i
,
"mystring"
);
19
if
(
__builtin_strcmp
(
buf
+
i
,
"mystring"
) !=
0
)
20
abort
();
21
}
22
23
return
0
;
24
}