From: Florian Krohm Date: Mon, 31 Aug 2015 22:26:03 +0000 (+0000) Subject: clang miscompiles faultstatus.c function test5(). X-Git-Tag: svn/VALGRIND_3_11_0~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5323c08c75c1c066e10f9dce326342856a39db94;p=thirdparty%2Fvalgrind.git 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 --- diff --git a/none/tests/x86/Makefile.am b/none/tests/x86/Makefile.am index 15d1e3e77b..2b35cd9056 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