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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr36194.c
blob
ae660e4d5773330c8d03f0ad07169579e4201c15
1
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
4
void
abort
(
void
);
5
6
__attribute__
((
noinline
))
void
7
f
(
int
i
)
8
{
9
#if(__SIZEOF_INT__ >= 4)
10
if
(
i
!=
0x87654321
)
11
#else
12
if
(
i
!=
0x4321
)
13
#endif
14
abort
();
15
asm
(
""
);
16
}
17
18
__attribute__
((
noinline
))
void
19
g
(
long long
a
)
20
{
21
f
(
a
);
22
asm
(
""
);
23
}
24
25
int
26
main
()
27
{
28
g
(
0x1234567887654321
ll
);
29
return
0
;
30
}