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
* gcc.dg/ucnid-[23456].c: XFAIL on AIX.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
asm-1.c
blob
1f509422e9745756848653a2db7df0d46ea5b7ef
1
/* { dg-do compile { target i?86-*-* } } */
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
}