[test-suite] r303417 - Add -fsigned-char for SPEC2006 482.sphinx3
Kristof Beyls via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 03:59:17 PDT 2017
Author: kbeyls
Date: Fri May 19 05:59:17 2017
New Revision: 303417
URL: http://llvm.org/viewvc/llvm-project?rev=303417&view=rev
Log:
Add -fsigned-char for SPEC2006 482.sphinx3
It relies on this, see
https://www.spec.org/cpu2006/Docs/faq.html#Miscompare.08
Without this, you may see miscompares on platforms for which the
default char is unsigned.
Modified:
test-suite/trunk/External/SPEC/CFP2006/482.sphinx3/CMakeLists.txt
Modified: test-suite/trunk/External/SPEC/CFP2006/482.sphinx3/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CFP2006/482.sphinx3/CMakeLists.txt?rev=303417&r1=303416&r2=303417&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CFP2006/482.sphinx3/CMakeLists.txt (original)
+++ test-suite/trunk/External/SPEC/CFP2006/482.sphinx3/CMakeLists.txt Fri May 19 05:59:17 2017
@@ -1,6 +1,7 @@
add_definitions(-DHAVE_CONFIG_H)
include_directories(${BENCHMARK_DIR}/src ${BENCHMARK_DIR}/src/libutil)
list(APPEND LDFLAGS -lm)
+list(APPEND CFLAGS -fsigned-char)
macro(test_input run_type)
llvm_test_run(RUN_TYPE ${run_type}
More information about the llvm-commits
mailing list