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
[testsuite] require sqrt_insn effective target where needed
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
longcall-2.c
blob
fc73cee3fb499864f7cbefefa59e60d9a81fcb09
1
/* { dg-do run } */
2
/* { dg-options "-mlongcall" } */
3
4
extern
void
abort
(
void
);
5
6
#define VAL 12345678
7
8
int
j
=
VAL
;
9
10
void
11
bar
(
void
)
12
{
13
if
(
j
!=
VAL
)
14
abort
();
15
}
16
17
int
18
main
(
void
)
19
{
20
int
i
=
VAL
;
21
22
int
foo
(
void
)
23
{
24
if
(
i
!=
VAL
)
25
abort
();
26
}
27
28
foo
();
29
bar
();
30
31
return
0
;
32
}