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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr68104.c
blob
5db0282cdc765a78fcb202a577089ce27e38c6e4
1
/* { dg-do compile } */
2
3
typedef
struct
4
{
5
char
vl
;
6
char
weight
;
7
}
ib_vl_arb_element_t
;
8
typedef
struct
{
ib_vl_arb_element_t vl_entry
[
32
]; }
ib_vl_arb_table_t
;
9
typedef
enum
{
IB_SUCCESS
}
ib_api_status_t
;
10
int
a
,
b
,
d
;
11
char
c
;
12
void
fn1
();
13
ib_api_status_t
fn2
()
14
{
15
int
e
=
b
;
16
ib_vl_arb_table_t f
;
17
if
(
e
)
18
for
(
a
=
0
;
a
<
d
;
a
++)
19
f
.
vl_entry
[
a
].
vl
&=
c
;
20
fn1
(
f
);
21
return
IB_SUCCESS
;
22
}