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 target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
20011009-1.c
blob
e79a475a1e3714f88fc34fc4c3c60d6a86133cb2
1
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
4
extern
void
abort
(
void
);
5
extern
void
exit
(
int
);
6
7
#ifdef __sun__
8
#define COMMENT
"/"
9
#else
10
#define COMMENT
"#"
11
#endif
12
13
int
main
()
14
{
15
int
x
;
16
17
asm
(
"movl $26, %0 "
COMMENT
" 26 |-> reg
\n\t
"
18
"movl $28, %0"
:
"=r"
(
x
));
19
if
(
x
!=
28
)
20
abort
();
21
exit
(
0
);
22
}