From 62f7d052bd5e268e077ac0b2cafdd4c9d0d38dc4 Mon Sep 17 00:00:00 2001 From: iains Date: Thu, 2 May 2019 14:55:21 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270801 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/ext/instantiate2.C | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bf32f0e756a5..ad12005d18ee 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 a6292892b383..97ef45c874dd 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)" } } -- 2.47.2