I am trying to run gcc.c-torture cases by using clang(version 3.4 realse,debug build).
And my command line is showed following.
clang fprintf-chk-1.c -O2 -c -o test.o
gcc test.o -o test.elf
Then I execute this object. However it fail with abort.
llvm doesn’t support volatile variable?
This test case is from gcc/testsuite/gcc.c-torture/execute/fprintf-chk-1.c
Any suggestion will be appreciated.
Thanks a million in advance.