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
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
ipa
/
pr57347.c
blob
731b4868ec3833af0f785946af6c3f46b90f2d7e
1
/* { dg-do run } */
2
/* { dg-options "-O3" } */
3
4
struct
S1
{
int
f0
;
int
f1
:
10
;
int
f2
:
13
; };
5
int
i
;
6
int
*
j
= &
i
;
7
8
static void
9
foo
(
struct
S1 s
)
10
{
11
int
*
p
;
12
int
l
[
88
];
13
int
**
pp
= &
p
;
14
*
pp
= &
l
[
1
];
15
l
[
0
] =
1
;
16
*
j
=
1
&&
s
.
f2
;
17
}
18
19
int
20
main
()
21
{
22
struct
S1 s
= {
0
,
0
,
1
};
23
foo
(
s
);
24
if
(
i
!=
1
)
25
__builtin_abort
();
26
return
0
;
27
}