This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch, commited, testsuite] Fix syntax on IA64 HP-UX tests.
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 8 Dec 2008 10:21:46 -0800 (PST)
- Subject: [patch, commited, testsuite] Fix syntax on IA64 HP-UX tests.
- Reply-to: sje at cup dot hp dot com
I am checking in this testsuite fix as obvious. The '{' and '}' symbols
need to be escaped because they are part of the string and not repeat
counts for scan-assembler.
Tested on IA64 HP-UX.
Steve Ellcey
sje@cup.hp.com
2008-12-08 Steve Ellcey <sje@cup.hp.com>
* gcc.target/ia64/versionid-1.c (dg-final): Fix syntax.
* gcc.target/ia64/versionid-2.c (dg-final): Ditto.
Index: gcc.target/ia64/versionid-1.c
===================================================================
--- gcc.target/ia64/versionid-1.c (revision 142545)
+++ gcc.target/ia64/versionid-1.c (working copy)
@@ -7,4 +7,4 @@ int bar(int i)
return (foo() + 1);
}
-/* { dg-final { scan-assembler "alias.*foo.*foo{20040821}" } } */
+/* { dg-final { scan-assembler "alias.*foo.*foo\\\{20040821\\\}" } } */
Index: gcc.target/ia64/versionid-2.c
===================================================================
--- gcc.target/ia64/versionid-2.c (revision 142545)
+++ gcc.target/ia64/versionid-2.c (working copy)
@@ -7,4 +7,4 @@ int foo(int i)
return (1);
}
-/* { dg-final { scan-assembler "alias.*foo.*foo{20040821}" } } */
+/* { dg-final { scan-assembler "alias.*foo.*foo\\\{20040821\\\}" } } */