OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix PR 17408 and PR 17409.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
930106-1.c
1
#if defined (STACK_SIZE)
2
#define DUMMY_SIZE 9
3
#else
4
#define DUMMY_SIZE 399999
5
#endif
6
7
double g()
8
{
9
return 1.0;
10
}
11
12
f()
13
{
14
char dummy[DUMMY_SIZE];
15
double f1, f2, f3;
16
f1 = g();
17
f2 = g();
18
f3 = g();
19
return f1 + f2 + f3;
20
}
21
22
main()
23
{
24
if (f() != 3.0)
25
abort();
26
exit(0);
27
}