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
SVE intrinsics: Fold svdiv with all-zero operands to zero vector
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20040423-1.c
blob
bc666e5351e94593d75c42b2b30d21cf232e5f77
1
void
abort
(
void
);
2
3
int
4
sub1
(
int
i
,
int
j
)
5
{
6
typedef
struct
7
{
8
int
c
[
i
+
2
];
9
}
c
;
10
int
x
[
10
],
y
[
10
];
11
12
if
(
j
==
2
)
13
{
14
__builtin_memcpy
(
x
,
y
,
10
*
sizeof
(
int
));
15
return sizeof
(
c
);
16
}
17
else
18
return sizeof
(
c
) *
3
;
19
}
20
21
int
22
main
()
23
{
24
typedef
struct
25
{
26
int
c
[
22
];
27
}
c
;
28
if
(
sub1
(
20
,
3
) !=
sizeof
(
c
)*
3
)
29
abort
();
30
31
return
0
;
32
}