From: Iain Sandoe Date: Thu, 12 Sep 2019 19:26:49 +0000 (+0000) Subject: [Darwin, X86, testsuite] Adjust test for Darwin's align syntax. X-Git-Tag: releases/gcc-7.5.0~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0586da4f850407b19d51159db73610b721778d08;p=thirdparty%2Fgcc.git [Darwin, X86, testsuite] Adjust test for Darwin's align syntax. 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 Backport from mainline. 2019-05-27 Iain Sandoe * gcc.target/i386/pr22076.c: Adjust options to match codegen expected by the scan-asms. From-SVN: r275690 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4fe02996465c..debbdab9fa01 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2019-09-12 Iain Sandoe + + Backport from mainline. + 2019-05-27 Iain Sandoe + + * gcc.target/i386/pr22076.c: Adjust options to + match codegen expected by the scan-asms. + 2019-09-12 Paul Thomas PR fortran/91686 diff --git a/gcc/testsuite/gcc.target/i386/pr22076.c b/gcc/testsuite/gcc.target/i386/pr22076.c index e9916c9a5832..d31ffa584b41 100644 --- a/gcc/testsuite/gcc.target/i386/pr22076.c +++ b/gcc/testsuite/gcc.target/i386/pr22076.c @@ -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