[compiler-rt] r243615 - Revert r243604, it (very likely) caused PR24312.

Nico Weber nicolasweber at gmx.de
Wed Jul 29 20:41:06 PDT 2015


Author: nico
Date: Wed Jul 29 22:41:05 2015
New Revision: 243615

URL: http://llvm.org/viewvc/llvm-project?rev=243615&view=rev
Log:
Revert r243604, it (very likely) caused PR24312.

Modified:
    compiler-rt/trunk/cmake/config-ix.cmake
    compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/open_memstream.cc

Modified: compiler-rt/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/config-ix.cmake?rev=243615&r1=243614&r2=243615&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/config-ix.cmake Wed Jul 29 22:41:05 2015
@@ -180,8 +180,7 @@ else()
       # FIXME: We build runtimes for both i686 and i386, as "clang -m32" may
       # target different variant than "$CMAKE_C_COMPILER -m32". This part should
       # be gone after we resolve PR14109.
-      # Use -march to make sure Clang defines __i686__; see PR24222.
-      test_target_arch(i686 __i686__ "-m32" "-march=i686")
+      test_target_arch(i686 __i686__ "-m32")
       test_target_arch(i386 __i386__ "-m32")
     else()
       if (CMAKE_SIZEOF_VOID_P EQUAL 4)

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/open_memstream.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/open_memstream.cc?rev=243615&r1=243614&r2=243615&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/open_memstream.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/open_memstream.cc Wed Jul 29 22:41:05 2015
@@ -1,5 +1,5 @@
-// RUN: %clangxx -m64 -march=x86-64 -O0 -g -xc++ %s -o %t && %run %t
-// RUN: %clangxx -m64 -march=x86-64 -O3 -g -xc++ %s -o %t && %run %t
+// RUN: %clangxx -m64 -O0 -g -xc++ %s -o %t && %run %t
+// RUN: %clangxx -m64 -O3 -g -xc++ %s -o %t && %run %t
 // REQUIRES: x86_64-supported-target
 
 #include <assert.h>





More information about the llvm-commits mailing list