[llvm-commits] [test-suite] r124745 - /test-suite/trunk/External/SPEC/CINT2000/254.gap/Makefile
Duncan Sands
baldrick at free.fr
Wed Feb 2 12:49:41 PST 2011
Author: baldrick
Date: Wed Feb 2 14:49:41 2011
New Revision: 124745
URL: http://llvm.org/viewvc/llvm-project?rev=124745&view=rev
Log:
This benchmark thinks overflow of signed multiplication is well
defined. Add the -fwrapv flag to ensure that the compiler thinks
so too.
Modified:
test-suite/trunk/External/SPEC/CINT2000/254.gap/Makefile
Modified: test-suite/trunk/External/SPEC/CINT2000/254.gap/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2000/254.gap/Makefile?rev=124745&r1=124744&r2=124745&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2000/254.gap/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2000/254.gap/Makefile Wed Feb 2 14:49:41 2011
@@ -16,3 +16,6 @@
else
CPPFLAGS += -DSYS_IS_USG
endif
+
+# 254.gap relies on signed arithmetic overflow being well-defined.
+CFLAGS += -fwrapv
More information about the llvm-commits
mailing list