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
mla-1.c: Ignore warnings about conflicting switches.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
mla-1.c
blob
6d5ee73b26103c69d236589351c238f470c7f9dc
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -march=armv5te" } */
3
/* { dg-prune-output "switch .* conflicts with" } */
4
5
6
int
7
foo
(
int
*
p
,
int
*
q
)
8
{
9
int
i
;
10
int
accum
=
0
;
11
12
for
(
i
=
0
;
i
<
1024
;
i
++)
13
{
14
accum
+= ((*
p
--) * (*
q
++));
15
accum
+=
4096
;
16
accum
>>=
13
;
17
}
18
19
return
accum
;
20
}
21
22
/* { dg-final { scan-assembler "mla" } } */