Hi,

On x86, x32 PIC is the same as 64bit PIC.  This patch checks ia32 instead
of ilp32.  Tested on Linux/x86-64 with -m32, -m64 and -mx32.  OK for
trunk?

Thanks.


H.J.
---
2011-09-10  H.J. Lu  <hongjiu...@intel.com>

        * gcc.dg/sibcall-6.c: Check ia32 instead of ilp32.

diff --git a/gcc/testsuite/gcc.dg/sibcall-6.c b/gcc/testsuite/gcc.dg/sibcall-6.c
index 3dba764..b62a8ee 100644
--- a/gcc/testsuite/gcc.dg/sibcall-6.c
+++ b/gcc/testsuite/gcc.dg/sibcall-6.c
@@ -7,7 +7,7 @@
    Contributed by Andreas Bauer <baue...@in.tum.de>  */
 
 /* { dg-do run { target i?86-*-* x86_64-*-* s390*-*-* } } */
-/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { ilp32 && { ! nonpic } } } { 
"*" } { "" } } */
+/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { ia32 && { ! nonpic } } } { 
"*" } { "" } } */
 /* { dg-options "-O2 -foptimize-sibling-calls -fno-ipa-cp" } */
 
 extern void abort (void);

Reply via email to