+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
/* 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 } } */