aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>2003-10-19 20:43:12 +0200
committerZdenek Dvorak <rakdver@gcc.gnu.org>2003-10-19 18:43:12 +0000
commit29ee7b16fe9113fc6644ae48d4b94f1ee02fedfd (patch)
treec38e7e124fdfd226b1826c494525d707b36e56c5 /gcc
parentcb0bc26338b68344eea600548df4a2d0ddbfd57b (diff)
downloadgcc-29ee7b16fe9113fc6644ae48d4b94f1ee02fedfd.zip
gcc-29ee7b16fe9113fc6644ae48d4b94f1ee02fedfd.tar.gz
gcc-29ee7b16fe9113fc6644ae48d4b94f1ee02fedfd.tar.bz2
* gcc.dg/old-style-asm-1.c: Use scan-assembler-times.
From-SVN: r72682
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/old-style-asm-1.c11
2 files changed, 9 insertions, 6 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 41e3d85..91565dc 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
+
+ * gcc.dg/old-style-asm-1.c: Use scan-assembler-times.
+
2003-10-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/12495
diff --git a/gcc/testsuite/gcc.dg/old-style-asm-1.c b/gcc/testsuite/gcc.dg/old-style-asm-1.c
index c33707e..6082a24 100644
--- a/gcc/testsuite/gcc.dg/old-style-asm-1.c
+++ b/gcc/testsuite/gcc.dg/old-style-asm-1.c
@@ -18,10 +18,9 @@ void foo(int v)
/* The purpose of the test below is to check that there are two branches
in the generated code, supposedly corresponding to the if-statements.
- Warning: this is fragile and assumes that one of the generated labels
- for the branches matches the string "L2", or as with
- mmix-knuth-mmixware, "L:2". That assumption is generally invalid,
+ Warning: this is fragile and assumes that the generated labels for the
+ branches contain letter "L". That assumption is generally invalid,
because for example it depends on the target macro
- ASM_GENERATE_INTERNAL_LABEL to generate a name matching this regexp (as
- with the default definition). */
-/* { dg-final { scan-assembler "L(:|\\\$0*)?2" } } */
+ ASM_GENERATE_INTERNAL_LABEL to generate such a name (as with the default
+ definition). */
+/* { dg-final { scan-assembler-times "L" 4 } } */