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
2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
memcpy-1.c
blob
f3eda7500db8d5f5aaefe71fc1bf2d245ebd3caa
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
/* { dg-final { scan-assembler-not "\tlbu\t" } } */
4
5
#include <string.h>
6
7
char
c
[
10
];
8
9
void
10
f1
()
11
{
12
memcpy
(
c
,
"123456"
,
6
);
13
}
14
15
void
16
f2
()
17
{
18
memcpy
(
c
, &
"12345678"
[
2
],
6
);
19
}