]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
clang miscompiles faultstatus.c function test5().
authorFlorian Krohm <florian@eich-krohm.de>
Mon, 31 Aug 2015 22:26:03 +0000 (22:26 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Mon, 31 Aug 2015 22:26:03 +0000 (22:26 +0000)
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

none/tests/x86/Makefile.am

index 15d1e3e77bfc98327185c6c2695cd4fd9c8a63cb..2b35cd9056e3a5a697f0b43bfc15d2c476b48466 100644 (file)
@@ -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