From 281f0e9c42ddd6e7fd64259da20c7b2ab9065ae9 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 31 Aug 2015 22:26:03 +0000 Subject: 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 --- none/tests/x86/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'none') 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 -- cgit v1.2.3