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
C99 testsuite readiness: Compile more tests with -std=gnu89
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
960830-1.c
blob
e32e01b956192f6c39d613583f69d162f67d5c0f
1
/* { dg-additional-options "-std=gnu89" } */
2
3
#ifdef __i386__
4
f
(
rp
)
5
unsigned int
*
rp
;
6
{
7
__asm__
(
"mull %3"
:
"=a"
(
rp
[
0
]),
"=d"
(
rp
[
1
]) :
"%0"
(
7
),
"rm"
(
7
));
8
}
9
10
main
()
11
{
12
unsigned int
s
[
2
];
13
14
f
(
s
);
15
if
(
s
[
1
] !=
0
||
s
[
0
] !=
49
)
16
abort
();
17
exit
(
0
);
18
}
19
#else
20
main
()
21
{
22
exit
(
0
);
23
}
24
#endif