re PR testsuite/41856 (g++.dg/lookup/extern-c-redecl[3,4] .C should be target specific)

Fix PR c++/41856

	PR c++/41856
	* g++.dg/lookup/extern-c-redecl3.C: Make the test x86 only.
	* g++.dg/lookup/extern-c-redecl4.C: Likewise.

From-SVN: r153851
This commit is contained in:
Dodji Seketeli 2009-11-03 13:46:46 +00:00 committed by Dodji Seketeli
parent 1028c12b62
commit 7faff37381
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2009-11-03 Dodji Seketeli <dodji@redhat.com>
PR c++/41856
* g++.dg/lookup/extern-c-redecl3.C: Make the test x86 only.
* g++.dg/lookup/extern-c-redecl4.C: Likewise.
2009-11-03 Dodji Seketeli <dodji@redhat.com>
* c-c++-common/dfp/builtin-offsetof.c: Moved this ...

View File

@ -1,8 +1,9 @@
// Contributed by Dodji Seketeli <dodji@redhat.com>
// Origin: PR c++/41020
// { dg-options "" }
// { dg-do compile }
// { dg-final { scan-assembler-not "call\[\t \]+_Z4forkv" } }
// { dg-final { scan-assembler "call\[\t \]+fork" } }
// { dg-final { scan-assembler-not "call\[\t \]+\[^\$\]*?_Z4forkv" { target i?86-*-* x86_64-*-* } } }
// { dg-final { scan-assembler "call\[\t \]+_?fork" { target i?86-*-* x86_64-*-* } } }
extern "C" int fork (void);

View File

@ -1,10 +1,9 @@
// Contributed by Dodji Seketeli <dodji@redhat.com>
// Origin: PR c++/41020
// Avoid the "-ansi -pedantic" option
// { dg-options "" }
// { dg-do compile }
// { dg-final { scan-assembler "call\[\t \]+_Z4forkv" } }
// { dg-final { scan-assembler "call\[\t \]+\[^\$\]*?_Z4forkv" { target i?86-*-* x86_64-*-* } } }
class frok
{