strace/tests/stack-fcall-2.c
Dmitry V. Levin b076420692 tests: robustify -k test
Split stack-fcall.c into several compilation units so that intermediate
function calls would not be optimized out by compiler.

* tests/stack-fcall.c: Move intermediate functions to ...
* tests/stack-fcall-*.c: ... new files.
* tests/Makefile.am (stack_fcall_SOURCES): Add stack-fcall-*.c.
2014-06-18 15:18:47 +00:00

7 lines
53 B
C

int f3(int i);
int f2(int i)
{
return f3(i) - i;
}