diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2019-05-27 20:06:22 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2019-05-27 20:06:22 +0000 |
commit | 9467fbc0ff8c06ef8eb2e96fa399734758620a8f (patch) | |
tree | def776f968161fbcbb77f2099b018cc221dd6ba1 /gcc | |
parent | 5c7247b7b7ad2ad27bec55bb39c3064fe32452f0 (diff) | |
download | gcc-9467fbc0ff8c06ef8eb2e96fa399734758620a8f.zip gcc-9467fbc0ff8c06ef8eb2e96fa399734758620a8f.tar.gz gcc-9467fbc0ff8c06ef8eb2e96fa399734758620a8f.tar.bz2 |
darwin, x86, testsuite - Match codegen
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr22076.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bed4287..89f2084 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gcc/testsuite/gcc.target/i386/pr22076.c b/gcc/testsuite/gcc.target/i386/pr22076.c index 6ce7696..427ffcd 100644 --- a/gcc/testsuite/gcc.target/i386/pr22076.c +++ b/gcc/testsuite/gcc.target/i386/pr22076.c @@ -1,5 +1,7 @@ /* { 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> |