This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Testsuite PATCH: Another spurious ILP32 failure
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 22 Aug 2003 14:52:26 -0700
- Subject: Testsuite PATCH: Another spurious ILP32 failure
- Reply-to: mark at codesourcery dot com
This IA64-specific test uses large integer constants; large enough
that we get warnings in ILP32 mode. Disabling the warnings is the
easy fix.
Tested on ia64-hp-hpux11.23 in 32-bit and 64-bit mode.
Aplied on the mainline and on the branch.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
2003-08-22 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/20020313-1.c: Add "-w" to dg-options.
Index: gcc.dg/20020313-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/20020313-1.c,v
retrieving revision 1.2
diff -c -5 -p -r1.2 20020313-1.c
*** gcc.dg/20020313-1.c 15 Mar 2002 06:50:26 -0000 1.2
--- gcc.dg/20020313-1.c 22 Aug 2003 21:52:49 -0000
***************
*** 2,12 ****
The problem here is that the ia64 scheduler saw a sequence of L L M type
insns, and messed up its internal state on which slot it was issuing
to, and aborted. */
/* { dg-do compile { target ia64-*-* } } */
! /* { dg-options "-O2 -mconstant-gp" } */
typedef unsigned long __u64;
typedef unsigned int __u32;
typedef struct { } spinlock_t;
struct cpuinfo_ia64 {
--- 2,14 ----
The problem here is that the ia64 scheduler saw a sequence of L L M type
insns, and messed up its internal state on which slot it was issuing
to, and aborted. */
/* { dg-do compile { target ia64-*-* } } */
! /* In ILP32 mode, we get warnings about large integer constants.
! Those cause spurious FAILs. */
! /* { dg-options "-w -O2 -mconstant-gp" } */
typedef unsigned long __u64;
typedef unsigned int __u32;
typedef struct { } spinlock_t;
struct cpuinfo_ia64 {