mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-10 09:04:36 +08:00
* gcc.dg/weak-1.c: Fix scan tests.
From-SVN: r50821
This commit is contained in:
parent
6da794e835
commit
32135a8c0c
@ -1,3 +1,7 @@
|
|||||||
|
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>
|
2002-03-15 Hans-Peter Nilsson <hp@bitrange.com>
|
||||||
|
|
||||||
* gcc.dg/20020312-2.c [__MMIX__]: No pic register.
|
* gcc.dg/20020312-2.c [__MMIX__]: No pic register.
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
/* COFF does not support weak, and dg doesn't support UNSUPPORTED. */
|
/* COFF does not support weak, and dg doesn't support UNSUPPORTED. */
|
||||||
/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin } } */
|
/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin } } */
|
||||||
|
|
||||||
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?a" } } */
|
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?a" } } */
|
||||||
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?b" } } */
|
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?b" } } */
|
||||||
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?c" } } */
|
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?c" } } */
|
||||||
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?d" } } */
|
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?d" } } */
|
||||||
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?e" } } */
|
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?e" } } */
|
||||||
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?g" } } */
|
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?g" } } */
|
||||||
/* { dg-final { scan-assembler-not "weak[^ ]*[ ]_?i" } } */
|
/* { dg-final { scan-assembler-not "weak\[^ \t\]*\[ \t]_?i" } } */
|
||||||
/* { dg-final { scan-assembler "weak[^ ]*[ ]_?j" } } */
|
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?j" } } */
|
||||||
|
|
||||||
#pragma weak a
|
#pragma weak a
|
||||||
int a;
|
int a;
|
||||||
|
Loading…
Reference in New Issue
Block a user