OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR middle-end/49801
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
c-c++-common
/
cxxbitfields-2.c
1
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2
/* { dg-options "-O2 --param allow-store-data-races=0" } */
3
4
/* Test that we don't store past VAR.K. */
5
6
struct S
7
{
8
volatile int i;
9
volatile int j: 32;
10
volatile int k: 15;
11
volatile char c[2];
12
} var;
13
14
void setit()
15
{
16
var.k = 13;
17
}
18
19
/* { dg-final { scan-assembler-not "movl.*, var" } } */