This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch, commited, testsuite] Fix syntax on IA64 HP-UX tests.


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\\\}" } } */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]