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.target
/
i386
/
20011009-1.c
blob
b78d99e997bb32ce5b94ee1ce3132707cfa0123e
1
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
2
/* { dg-options "-O2" } */
3
4
extern
void
abort
(
void
);
5
extern
void
exit
(
int
);
6
7
int
main
()
8
{
9
int
x
;
10
11
asm
(
"movl $26, %0 # 26 |-> reg
\n\t
"
12
"movl $28, %0"
:
"=r"
(
x
));
13
if
(
x
!=
28
)
14
abort
();
15
exit
(
0
);
16
}