weak-1.c: Fix typo in scan-assembler pattern.

* gcc.dg/weak-1.c: Fix typo in scan-assembler pattern.

	* g++.old-deja/g++.law/bit-fields2.C: Skip on mmix-knuth-mmixware.

From-SVN: r51529
This commit is contained in:
Hans-Peter Nilsson 2002-03-28 20:36:16 +00:00 committed by Hans-Peter Nilsson
parent 0c0bac932e
commit d15e67bc46
3 changed files with 20 additions and 8 deletions

View File

@ -1,3 +1,9 @@
2002-03-28 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/weak-1.c: Fix typo in scan-assembler pattern.
* g++.old-deja/g++.law/bit-fields2.C: Skip on mmix-knuth-mmixware.
2002-03-27 Richard Henderson <rth@redhat.com>
* g++.dg/ext/instantiate1.C: Use scan-assembler, not link errors.

View File

@ -10,6 +10,12 @@
// From: Jaimie Wilson/MSL <Jaimie_Wilson@msl.isis.org>
// Date: Fri, 28 Jan 1994 06:11:43 -0500
// Subject: GCC bug report
//
// This test is only meant for targets where EMPTY_FIELD_BOUNDARY is
// defined to no larger than the size of an unsigned int, or where
// PCC_BITFIELD_TYPE_MATTERS is defined. Add skips below for targets that
// do not have that property.
// Skip if target: mmix-knuth-mmixware
#include <stdio.h>

View File

@ -7,14 +7,14 @@
/* { dg-final { global target_triplet } } */
/* { dg-final { if [string match i?86-pc-cygwin $target_triplet ] {return} } } */
/* { dg-final { if [string match *-*-coff $target_triplet ] {return} } } */
/* { 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" } } */
/* { 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;