* gcc.dg/old-style-asm-1.c: Use scan-assembler-times.
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
Sun, 19 Oct 2003 18:43:12 +0000 (20:43 +0200)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Sun, 19 Oct 2003 18:43:12 +0000 (18:43 +0000)
From-SVN: r72682

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/old-style-asm-1.c

index 41e3d856912887f259da49f4658768656e9bfc55..91565dca721c8f90a58b55156ee2f544ac81174e 100644 (file)
@@ -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
index c33707e609c07a771493aeea82f560b365366235..6082a24488e8f656e59886926878b89b87e652ac 100644 (file)
@@ -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 } } */