From 5a66a005c8d8fedc3567a0187b1a7bdf7b202809 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 4 Aug 2019 11:32:48 +0000 Subject: [PATCH] Darwin, x86, testsuite - backport for for pr22076 fail. 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 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: r274069 --- gcc/testsuite/ChangeLog | 8 ++++++++ gcc/testsuite/gcc.target/i386/pr22076.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 486da4228196..0c2cd8167a23 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2019-08-04 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-08-04 Iain Sandoe Backport from mainline. diff --git a/gcc/testsuite/gcc.target/i386/pr22076.c b/gcc/testsuite/gcc.target/i386/pr22076.c index 6c1620b4a3b1..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-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 -- 2.47.2