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
testsuite: Revert to the original version of pr100056.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr97769.c
blob
59e0b46488138b42536d25d45a30747b62c90d9c
1
/* { dg-do compile } */
2
/* { dg-additional-options "-O3" } */
3
4
typedef
struct
{
5
int
alg
;
6
int
h1
[
8
];
7
unsigned
d1
[
1
];
8
}
tmp
;
9
typedef
struct
{
10
tmp itmp
;
11
tmp otmp
;
12
}
h1
;
13
h1 c
;
14
15
static void
16
fn1
(
char
*
p1
,
int
p2
)
17
{
18
int
i
=
0
;
19
for
(;
i
<
4
;
i
++)
20
*
p1
++ =
p2
;
21
}
22
23
static void
24
fn2
(
tmp
*
p1
)
25
{
26
char
*
d
= (
char
*)
p1
->
d1
;
27
int
*
b
=
p1
->
h1
;
28
for
(
int
a
=
0
;
a
;
a
++,
d
+=
4
)
29
fn1
(
d
, *
b
++);
30
}
31
32
void
fn3
() {
fn2
(&(&
c
)->
otmp
); }