diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c2e1c161505..484e7f189ca 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-03-15 Richard Earnshaw + + * gcc.dg/weak-1.c: Fix scan tests. + 2002-03-15 Hans-Peter Nilsson * gcc.dg/20020312-2.c [__MMIX__]: No pic register. diff --git a/gcc/testsuite/gcc.dg/weak-1.c b/gcc/testsuite/gcc.dg/weak-1.c index 95e56f098a6..894a248a6f9 100644 --- a/gcc/testsuite/gcc.dg/weak-1.c +++ b/gcc/testsuite/gcc.dg/weak-1.c @@ -2,14 +2,14 @@ /* COFF does not support weak, and dg doesn't support UNSUPPORTED. */ /* { dg-do compile { xfail *-*-coff i?86-pc-cygwin } } */ -/* { dg-final { scan-assembler "weak[^ ]*[ ]_?a" } } */ -/* { dg-final { scan-assembler "weak[^ ]*[ ]_?b" } } */ -/* { dg-final { scan-assembler "weak[^ ]*[ ]_?c" } } */ -/* { dg-final { scan-assembler "weak[^ ]*[ ]_?d" } } */ -/* { dg-final { scan-assembler "weak[^ ]*[ ]_?e" } } */ -/* { dg-final { scan-assembler "weak[^ ]*[ ]_?g" } } */ -/* { dg-final { scan-assembler-not "weak[^ ]*[ ]_?i" } } */ -/* { dg-final { scan-assembler "weak[^ ]*[ ]_?j" } } */ +/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?a" } } */ +/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?b" } } */ +/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?c" } } */ +/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?d" } } */ +/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?e" } } */ +/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?g" } } */ +/* { dg-final { scan-assembler-not "weak\[^ \t\]*\[ \t]_?i" } } */ +/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?j" } } */ #pragma weak a int a;