]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Darwin, x86, testsuite - backport for for pr22076 fail.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 4 Aug 2019 11:32:48 +0000 (11:32 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 4 Aug 2019 11:32:48 +0000 (11:32 +0000)
Darwin has a .align taking a power of 2 by default, so that some
tests expecting a byte count are failing, fixed thus.

2019-08-04  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline.
2019-05-27  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.target/i386/pr22076.c: Adjust options to
match codegen expected by the scan-asms.

From-SVN: r274069

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr22076.c

index 486da4228196ef705555c4f0aee62f5b4e60df6a..0c2cd8167a23934a0fa3efef7c6fa53a670a795f 100644 (file)
@@ -1,3 +1,11 @@
+2019-08-04  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backport from mainline.
+       2019-05-27  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * gcc.target/i386/pr22076.c: Adjust options to
+       match codegen expected by the scan-asms.
+
 2019-08-04  Iain Sandoe  <iain@sandoe.co.uk>
 
        Backport from mainline.
index 6c1620b4a3b15a30d28368e68bf40f1e15a735ee..d31ffa584b417bdc1d9caae57939831b17e7ce85 100644 (file)
@@ -1,6 +1,8 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fomit-frame-pointer -flax-vector-conversions -mmmx" } */
 /* { dg-additional-options "-mno-vect8-ret-in-mem" { target *-*-vxworks* } } */
+/* { dg-additional-options "-fno-common" { target *-*-darwin* } } */
+/* { dg-additional-options "-mdynamic-no-pic" { target { ia32 && *-*-darwin* } } } */
 
 #include <mmintrin.h>