aboutsummaryrefslogtreecommitdiff
path: root/none
diff options
context:
space:
mode:
authorflorian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9>2015-08-31 22:26:03 +0000
committerflorian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9>2015-08-31 22:26:03 +0000
commit281f0e9c42ddd6e7fd64259da20c7b2ab9065ae9 (patch)
tree03d6674621219d44795c6fc6f4303c103f5235e4 /none
parent6c85bcd416805845e6339f19e63c59c2f38a591f (diff)
downloadvalgrind-281f0e9c42ddd6e7fd64259da20c7b2ab9065ae9.tar.gz
clang miscompiles faultstatus.c function test5().
First it choses %eax as the 1st operand of the bound insn. Then it complains that %eax is invalid. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15610 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'none')
-rw-r--r--none/tests/x86/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/none/tests/x86/Makefile.am b/none/tests/x86/Makefile.am
index 15d1e3e77..2b35cd905 100644
--- a/none/tests/x86/Makefile.am
+++ b/none/tests/x86/Makefile.am
@@ -125,9 +125,13 @@ endif
if !VGCONF_OS_IS_DARWIN
if !SOLARIS_SUN_STUDIO_AS
# Sun Studio assembler fails to assemble the bound instruction
+if !COMPILER_IS_CLANG
+# clang errors out complaining that %eax as the 1st operand in the bound
+# insn is an invalid operand.
check_PROGRAMS += faultstatus
endif
endif
+endif
if !SOLARIS_SUN_STUDIO_AS
# Sun Studio assembler fails to assemble pushw %fs, popw %fs
check_PROGRAMS += pushpopseg