repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
asm-1.c
blob
3bf5c29c4cdca5d69029678e374c9b65cc22d686
1
/* { dg-do compile } */
2
3
struct
x
{
4
int
selector
;
5
};
6
7
void
f
()
8
{
9
struct
x
*
addr
;
10
__asm__
(
"mov %%gs,%0"
:
"=r"
((
unsigned short
)
addr
->
selector
));
/* { dg-error "lvalue" "casts make rvalues" } */
11
}