diff mbox

PATCH: Check ia32 instead of ilp32

Message ID 20110910190247.GA14502@intel.com
State New
Headers show

Commit Message

H.J. Lu Sept. 10, 2011, 7:02 p.m. UTC
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.lu@intel.com>

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

Comments

Uros Bizjak Sept. 10, 2011, 7:12 p.m. UTC | #1
On Sat, Sep 10, 2011 at 9:02 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:

> 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.lu@intel.com>
>
>        * gcc.dg/sibcall-6.c: Check ia32 instead of ilp32.

OK.

Thanks,
Uros.
diff mbox

Patch

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 <baueran@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);