Darwin, testsuite - Fix pr71694 fail for m32.

This test fails for Darwin m32 because it's scanning for absence
of an instruction that's validly used in PIC code.  Fixed, in this
case, by using non-PIC codegen.

2019-06-13  Iain Sandoe  <iain@sandoe.co.uk>

	* g++.dg/pr71694.C: Use non-PIC codegen for Darwin m32.

From-SVN: r272257
This commit is contained in:
Iain Sandoe 2019-06-13 18:32:32 +00:00 committed by Iain Sandoe
parent b9fb83059d
commit 19c6bc40f0
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2019-06-13 Iain Sandoe <iain@sandoe.co.uk>
* g++.dg/pr71694.C: Use non-PIC codegen for Darwin m32.
2019-06-13 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/89344

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fno-store-merging" } */
/* { dg-additional-options "-fno-common -mdynamic-no-pic" { target { ia32 && { x86_64-*-darwin* i?86-*-darwin* } } } } */
struct B {
B() {}