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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20040423-1.c
blob
ace797e79d350c18f06326515b4c9bab9ec4d3cb
1
int
2
sub1
(
int
i
,
int
j
)
3
{
4
typedef
struct
5
{
6
int
c
[
i
+
2
];
7
}
c
;
8
int
x
[
10
],
y
[
10
];
9
10
if
(
j
==
2
)
11
{
12
memcpy
(
x
,
y
,
10
*
sizeof
(
int
));
13
return sizeof
(
c
);
14
}
15
else
16
return sizeof
(
c
) *
3
;
17
}
18
19
int
20
main
()
21
{
22
typedef
struct
23
{
24
int
c
[
22
];
25
}
c
;
26
if
(
sub1
(
20
,
3
) !=
sizeof
(
c
)*
3
)
27
abort
();
28
29
return
0
;
30
}