Commit 32135a8c by Richard Earnshaw Committed by Richard Earnshaw

* gcc.dg/weak-1.c: Fix scan tests.

From-SVN: r50821
parent 6da794e8
2002-03-15 Richard Earnshaw <rearnsha@arm.com>
* gcc.dg/weak-1.c: Fix scan tests.
2002-03-15 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/20020312-2.c [__MMIX__]: No pic register.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment