diff options
author | florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2015-08-31 22:26:03 +0000 |
---|---|---|
committer | florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2015-08-31 22:26:03 +0000 |
commit | 281f0e9c42ddd6e7fd64259da20c7b2ab9065ae9 (patch) | |
tree | 03d6674621219d44795c6fc6f4303c103f5235e4 | |
parent | 6c85bcd416805845e6339f19e63c59c2f38a591f (diff) | |
download | valgrind-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
-rw-r--r-- | none/tests/x86/Makefile.am | 4 |
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 |