aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/g++.old-deja/g++.ext/instantiate2.C3
-rw-r--r--gcc/testsuite/g++.old-deja/g++.ext/instantiate3.C3
3 files changed, 10 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 23436f9..8839c39 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+Thu Apr 26 11:15:12 2001 Jeffrey A Law (law@cygnus.com)
+
+ * g++.old-deja/g++.ext/instantiate2.C: XFAIL for HPUX too since
+ its linker doesn't give line numbers either.
+ * g++.old-deja/g++.ext/instantiate3.C: Similarly.
+
2001-04-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/lex1.C: New test.
diff --git a/gcc/testsuite/g++.old-deja/g++.ext/instantiate2.C b/gcc/testsuite/g++.old-deja/g++.ext/instantiate2.C
index 9a783a1..8052332 100644
--- a/gcc/testsuite/g++.old-deja/g++.ext/instantiate2.C
+++ b/gcc/testsuite/g++.old-deja/g++.ext/instantiate2.C
@@ -16,8 +16,9 @@ static template struct A<int>;
void test_int() { A<int>::t = 42; } // gets bogus error
-void test_char() { A<char>::t = 42; } // ERROR - not instantiated XFAIL *-*-irix*
+void test_char() { A<char>::t = 42; } // ERROR - not instantiated XFAIL *-*-irix* *-*-hpux*
// Irix's default linker does not produce line numbers so XFAIL it.
+// Similarly for HP's linker
int main ()
{
diff --git a/gcc/testsuite/g++.old-deja/g++.ext/instantiate3.C b/gcc/testsuite/g++.old-deja/g++.ext/instantiate3.C
index 92ad16d..18d5a57 100644
--- a/gcc/testsuite/g++.old-deja/g++.ext/instantiate3.C
+++ b/gcc/testsuite/g++.old-deja/g++.ext/instantiate3.C
@@ -10,9 +10,10 @@ template <class T> struct A {
inline template struct A<int>;
A<int> a; // gets bogus error
-A<char> b; // ERROR - not instantiated XFAIL mips*-*-*
+A<char> b; // ERROR - not instantiated XFAIL mips*-*-* *-*-hpux*
// Irix's default linker does not
// produce line numbers so XFAIL it.
+ // Similarly for HPUX.
int main ()
{