Commit fb2c78f8 by Iain Sandoe Committed by Iain Sandoe

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  <iain@sandoe.co.uk>

	* g++.dg/ext/instantiate2.C: Remove special-caseing for Darwin.

From-SVN: r270801
parent 8964432a
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> 2019-05-02 Richard Biener <rguenther@suse.de>
PR tree-optimization/89653 PR tree-optimization/89653
......
...@@ -8,8 +8,7 @@ template <class T> struct A { ...@@ -8,8 +8,7 @@ template <class T> struct A {
template <class T> T A<T>::t = 0; template <class T> T A<T>::t = 0;
static template struct A<int>; static template struct A<int>;
// { dg-final { scan-assembler "\n_?_ZN1AIiE1tE(:|\n|\t)" { target { ! *-*-darwin* } } } } // { dg-final { scan-assembler "\n_?_ZN1AIiE1tE(:|\n|\t)" } }
// { dg-final { scan-assembler ".zerofill __DATA,__pu_bss2,__ZN1AIiE1tE" { target *-*-darwin* } } }
void test_int() { A<int>::t = 42; } void test_int() { A<int>::t = 42; }
// { dg-final { scan-assembler-not "\n_?_ZN1AIcE1tE(:|\n|\t)" } } // { dg-final { scan-assembler-not "\n_?_ZN1AIcE1tE(:|\n|\t)" } }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment