OSDN Git Service

Fix PR c++/41856
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Nov 2009 22:58:07 +0000 (22:58 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Nov 2009 22:58:07 +0000 (22:58 +0000)
PR c++/41856
* g++.dg/lookup/extern-c-redecl3.C: Make the test x86
only.
* g++.dg/lookup/extern-c-redecl4.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153829 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/extern-c-redecl3.C
gcc/testsuite/g++.dg/lookup/extern-c-redecl4.C

index cfc4a0a..6578d40 100644 (file)
@@ -1,5 +1,12 @@
 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
        * g++.dg/other/ptrmem10.C: New test.
        * g++.dg/other/ptrmem11.C: Likewise.
index 00ff4a9..56dcefa 100644 (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);
 
index 9dfa54d..c385ea7 100644 (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
 {