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++/67273
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
pr42879.c
blob
9fcdad694a30b3b6ee07c16c804431dc98fe4e8e
1
/* { dg-require-effective-target arm_thumb2_ok } */
2
/* { dg-options "-mthumb -Os" } */
3
/* { dg-final { scan-assembler "lsls" } } */
4
5
struct
A
6
{
7
#ifdef __ARMEB__
8
int
dummy
:
31
;
9
#endif
10
int
v
:
1
;
11
};
12
13
int
bar
();
14
int
foo
(
struct
A
*
p
)
15
{
16
if
(
p
->
v
)
17
return
1
;
18
return
bar
();
19
}