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
2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
ext_ins.c
blob
8186b84a27f21e68813406ec83feb8fd13962567
1
/* { dg-do compile } */
2
/* { dg-options "isa_rev>=2" } */
3
/* { dg-final { scan-assembler "ext" } } */
4
/* { dg-final { scan-assembler "ins" } } */
5
6
struct
A
7
{
8
unsigned int
i
:
2
;
9
unsigned int
j
:
3
;
10
unsigned int
k
:
4
;
11
unsigned int
l
:
5
;
12
};
13
14
void
func
(
struct
A
);
15
16
unsigned int
f1
(
struct
A a
)
17
{
18
return
a
.
j
;
19
}
20
21
void
f2
(
int
i
)
22
{
23
struct
A c
;
24
c
.
j
=
i
;
25
func
(
c
);
26
}