[patch, commited, testsuite] Fix syntax on IA64 HP-UX tests.
Steve Ellcey
sje@cup.hp.com
Mon Dec 8 18:34:00 GMT 2008
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\\\}" } } */
More information about the Gcc-patches
mailing list