For this test, we can match the codegen expected in the scan-asms
by avoiding the extra indirection that's mandated by the ABI for
common access and by using -mdynamic-no-pic for the 32b case.
gcc/testsuite/
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: r271670
+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-05-27 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/specs/array4.ads: New test.
/* { dg-do compile } */
/* { dg-options "-O2 -fomit-frame-pointer -mmmx -mno-sse2" } */
+/* { dg-additional-options "-fno-common" { target *-*-darwin* } } */
+/* { dg-additional-options "-mdynamic-no-pic" { target { ia32 && *-*-darwin* } } } */
#include <mmintrin.h>