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
vect: Fix vect_reduction_def check for odd/even widen mult [PR116142]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr98773.c
blob
026e8efba5cf8d605c7329b012e8097b88cfe817
1
/* { dg-do run } */
2
3
char
a
[
128
];
4
5
void
__attribute__
((
noipa
))
6
foo
()
7
{
8
for
(
unsigned
i
=
27
;
i
>=
5
; --
i
)
9
a
[
i
] =
a
[
i
-
5
];
10
}
11
12
int
main
()
13
{
14
__builtin_memcpy
(
a
,
"Hello World"
,
sizeof
(
"Hello World"
));
15
foo
();
16
if
(
__builtin_memcmp
(
a
+
5
,
"Hello World"
,
sizeof
(
"Hello World"
)) !=
0
)
17
__builtin_abort
();
18
return
0
;
19
}