From 78cb77c13e86cb36640cf57230e2211aaea0ef2f Mon Sep 17 00:00:00 2001
From: Nathan Sidwell <nathan@codesourcery.com>
Date: Thu, 19 Feb 2004 12:46:49 +0000
Subject: [PATCH] attr-ctor1.C: XFAIL on hppa.

	* g++.dg/parse/attr-ctor1.C: XFAIL on hppa.
	* g++.dg/opt/template1.C: Robustify assembler regexp

From-SVN: r78097
---
 gcc/testsuite/ChangeLog                 | 5 +++++
 gcc/testsuite/g++.dg/opt/template1.C    | 2 +-
 gcc/testsuite/g++.dg/parse/attr-ctor1.C | 4 +++-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 548d7d42f41b..4de2e4b05099 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-19  Nathan Sidwell  <nathan@codesourcery.com>
+
+	* g++.dg/parse/attr-ctor1.C: XFAIL on hppa.
+	* g++.dg/opt/template1.C: Robustify assembler regexp
+
 2004-02-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
 	* gcc.c-torture/execute/simd-4.x: Remove.
diff --git a/gcc/testsuite/g++.dg/opt/template1.C b/gcc/testsuite/g++.dg/opt/template1.C
index 9003be1ee17e..f25434693918 100644
--- a/gcc/testsuite/g++.dg/opt/template1.C
+++ b/gcc/testsuite/g++.dg/opt/template1.C
@@ -1,5 +1,5 @@
 // { dg-options "-O2" }
-// { dg-final { scan-assembler-not "foo1" } }
+// { dg-final { scan-assembler-not "\n_?_ZN1AILi0EE4foo1Ev\[: \t\n\]" } }
 
 template <int>
 struct A {
diff --git a/gcc/testsuite/g++.dg/parse/attr-ctor1.C b/gcc/testsuite/g++.dg/parse/attr-ctor1.C
index 4f8cd1dde664..d48543cf100e 100644
--- a/gcc/testsuite/g++.dg/parse/attr-ctor1.C
+++ b/gcc/testsuite/g++.dg/parse/attr-ctor1.C
@@ -2,7 +2,9 @@
 // Origin: <petr@scssoft.com>
 // { dg-do compile }
 
+// Requires section attribute support
+
 class A
 {
-    __attribute__((section("whatever"))) A();
+    __attribute__((section("whatever"))) A(); // { dg-bogus "" "" { xfail hppa*-*-hpux* } }
 };
-- 
GitLab