From 3da5d5c8d89d5bd2c31ae1f497d451f0f7f4a3f9 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Thu, 26 Apr 2001 17:13:04 +0000 Subject: [PATCH] instantiate2.C: XFAIL for HPUX too since its linker doesn't give line numbers either. * 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. From-SVN: r41597 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/g++.old-deja/g++.ext/instantiate2.C | 3 ++- gcc/testsuite/g++.old-deja/g++.ext/instantiate3.C | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 23436f9e1e1..8839c39125e 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 * 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 9a783a14b63..805233248b2 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; void test_int() { A::t = 42; } // gets bogus error -void test_char() { A::t = 42; } // ERROR - not instantiated XFAIL *-*-irix* +void test_char() { A::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 92ad16dfd45..18d5a579c88 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 struct A { inline template struct A; A a; // gets bogus error -A b; // ERROR - not instantiated XFAIL mips*-*-* +A b; // ERROR - not instantiated XFAIL mips*-*-* *-*-hpux* // Irix's default linker does not // produce line numbers so XFAIL it. + // Similarly for HPUX. int main () { -- 2.30.2