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
PR c++/85662
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
cxxbitfields-6.c
blob
bdd62941b4db0aa91b8b640bd8be5d968108dfe6
1
/* PR middle-end/50141 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 --param allow-store-data-races=0" } */
4
5
struct
S
6
{
7
int
i
:
8
;
8
};
9
10
void
bar
(
struct
S
,
int
);
11
12
void
13
foo
(
struct
S s
,
int
i
)
14
{
15
s
.
i
=
i
;
16
bar
(
s
,
i
);
17
}