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
Add _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr57425-3.c
blob
8e0c7fe2dec05d0fc72b32de08c1a5dc3055edbe
1
/* { dg-do run } */
2
3
extern
void
abort
(
void
)
__attribute__
((
noreturn
));
4
5
int
6
main
()
7
{
8
int
sum
=
0
;
9
{
10
long
a
[
20
];
11
long
*
c
;
12
c
=
a
;
13
asm
(
""
:
"=r"
(
c
):
"0"
(
c
));
14
*
c
=
0
;
15
asm
(
""
:
"=r"
(
c
):
"0"
(
c
));
16
sum
+= *
c
;
17
}
18
{
19
long long
b
[
10
];
20
long long
*
c
;
21
c
=
b
;
22
asm
(
""
:
"=r"
(
c
):
"0"
(
c
));
23
*
c
=
1
;
24
asm
(
""
:
"=r"
(
c
):
"0"
(
c
));
25
sum
+= *
c
;
26
}
27
28
if
(
sum
!=
1
)
29
abort
();
30
return
0
;
31
}