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
* config/i386/avx512fintrin.h (_mm512_set_epi16, _mm512_set_epi8,
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
volatile-bitfields-1.c
blob
c69d3a358b44e35239bc42d65e921260927123d6
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
typedef
struct
{
5
char
a
:
1
;
6
char
b
:
7
;
7
int
c
;
8
}
BitStruct
;
9
10
volatile
BitStruct bits
;
11
12
int
foo
()
13
{
14
return
bits
.
b
;
15
}
16
17
/* { dg-final { scan-assembler "ldrb\[\\t \]+\[^\n\]*,\[\\t \]*\\\[\[^\n\]*\\\]" } } */