]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
darwin, testsuite, fix a failing test.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 May 2019 14:55:21 +0000 (14:55 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 May 2019 14:55:21 +0000 (14:55 +0000)
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  <iain@sandoe.co.uk>

* 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
gcc/testsuite/g++.dg/ext/instantiate2.C

index bf32f0e756a5dee12dc47dfa0792c9a01744a7d0..ad12005d18ee0b99d2cb635944468552bf186e59 100644 (file)
@@ -1,3 +1,7 @@
+2019-05-02  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * g++.dg/ext/instantiate2.C: Remove special-casing for Darwin.
+
 2019-05-02  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/89653
index a6292892b38309bd3d295cf0977bc74ce8989ff7..97ef45c874dd9b728c584984d976ce2356b07989 100644 (file)
@@ -8,8 +8,7 @@ template <class T> struct A {
 template <class T> T A<T>::t = 0;
 static template struct A<int>;
 
-// { 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<int>::t = 42; }
 
 // { dg-final { scan-assembler-not "\n_?_ZN1AIcE1tE(:|\n|\t)" } }