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: r153829
This commit is contained in:
Dodji Seketeli 2009-11-02 22:58:07 +00:00 committed by Dodji Seketeli
parent a2f560d05c
commit 41dce858ff
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2009-11-02 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-02 Dodji Seketeli <dodji@redhat.com>
PR c++/37093

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
{