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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
peep-ldrd-2.c
blob
6822c2b1454efd8ec54f281b81fa814bf19b1956
1
/* { dg-do compile } */
2
/* { dg-require-effective-target arm_prefer_ldrd_strd } */
3
/* { dg-options "-O2 -mno-unaligned-access" } */
4
int
foo
(
int
a
,
int
b
,
int
*
p
,
int
*
q
)
5
{
6
a
=
p
[
2
] +
p
[
3
];
7
*
q
=
a
;
8
*
p
=
a
;
9
return
a
;
10
}
11
/* { dg-final { scan-assembler-not "ldrd\\t" } } */