From fb2c78f8aa4d14cc8d5e2ddda4d50d24ddc1dba0 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Thu, 2 May 2019 14:55:21 +0000 Subject: darwin, testsuite, fix a failing test. The istantiate2.C test has started to fail since Darwin's impl. of this part of the ABI was fixed. It now emits the same output as other platforms (and clang). 2019-05-02 Iain Sandoe * g++.dg/ext/instantiate2.C: Remove special-caseing for Darwin. From-SVN: r270801 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/ext/instantiate2.C | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bf32f0e..ad12005 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-05-02 Iain Sandoe + + * g++.dg/ext/instantiate2.C: Remove special-casing for Darwin. + 2019-05-02 Richard Biener PR tree-optimization/89653 diff --git a/gcc/testsuite/g++.dg/ext/instantiate2.C b/gcc/testsuite/g++.dg/ext/instantiate2.C index a629289..97ef45c 100644 --- a/gcc/testsuite/g++.dg/ext/instantiate2.C +++ b/gcc/testsuite/g++.dg/ext/instantiate2.C @@ -8,8 +8,7 @@ template struct A { template T A::t = 0; static template struct A; -// { dg-final { scan-assembler "\n_?_ZN1AIiE1tE(:|\n|\t)" { target { ! *-*-darwin* } } } } -// { dg-final { scan-assembler ".zerofill __DATA,__pu_bss2,__ZN1AIiE1tE" { target *-*-darwin* } } } +// { dg-final { scan-assembler "\n_?_ZN1AIiE1tE(:|\n|\t)" } } void test_int() { A::t = 42; } // { dg-final { scan-assembler-not "\n_?_ZN1AIcE1tE(:|\n|\t)" } } -- cgit v1.1