]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Darwin, X86, testsuite] Adjust test for Darwin's align syntax.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 12 Sep 2019 19:26:49 +0000 (19:26 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Thu, 12 Sep 2019 19:26:49 +0000 (19:26 +0000)
Darwin has a .align taking a power of 2 by default, so that some
tests expecting a byte count are failing, fixed by adjusting the
scan-asms.  We also avoid the ABI-mandated indirection for common
and PIC extras for m32 (by adjusting compile options).

2019-09-12  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: r275690

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

index 4fe02996465cf3f0a165409b3a4ce0b17e520a86..debbdab9fa015e0539b6f43f4155d5344873aceb 100644 (file)
@@ -1,3 +1,11 @@
+2019-09-12  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-09-12  Paul Thomas  <pault@gcc.gnu.org>
 
        PR fortran/91686
index e9916c9a5832df2effc5be70c107ce98a0004e23..d31ffa584b417bdc1d9caae57939831b17e7ce85 100644 (file)
@@ -1,6 +1,8 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fomit-frame-pointer -flax-vector-conversions -mmmx" } */
-/* { dg-options "-O2 -fomit-frame-pointer -flax-vector-conversions -mmmx -mno-vect8-ret-in-mem" { target *-*-vxworks* } } */
+/* { 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>