@@ -1,3 +1,18 @@
+2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * g++.dg/opt/nrv12.C: Require ia32 instead of ilp32.
+
+ * gcc.c-torture/compile/pr16566-2.c: Also allow x32.
+ * gcc.dg/torture/pr20314-2.c: Likewise.
+ * gfortran.dg/pr33794.f90: Likewise.
+
+ * gcc.dg/lower-subreg-1.c: Don't allow x32.
+
+ * gcc.dg/lto/pr47259_0.c: Don't require lp64.
+
+ * gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp: Also
+ check x32.
+
2011-03-15 H.J. Lu <hongjiu.lu@intel.com>
* lib/target-supports.exp (check_effective_target_vect_cmdline_needed):
@@ -1,7 +1,7 @@
/* Verify that gimple-level NRV is occurring even for RESULT_DECLs. *./
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O -fdump-tree-optimized" } */
-/* { dg-require-effective-target ilp32 } */
+/* { dg-require-effective-target ia32 } */
struct P
{
@@ -1,6 +1,6 @@
/* ICE with flexible arrays in non-lvalue structures. Bug 16566
(comment #5). */
-/* { dg-options "-Wno-psabi" { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
+/* { dg-options "-Wno-psabi" { target { { i?86-*-* x86_64-*-* } && { x32 || lp64 } } } } */
struct A
{
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { { { ! mips64 } && { ! ia64-*-* } } && { ! spu-*-* } } } } */
+/* { dg-do compile { target { { { { ! mips64 } && { ! ia64-*-* } } && { ! spu-*-* } } && { ! x32 } } } } */
/* { dg-options "-O -fdump-rtl-subreg1" } */
/* { dg-require-effective-target ilp32 } */
@@ -1,7 +1,6 @@
/* { dg-lto-do link } */
/* { dg-skip-if "" { ! { x86_64-*-* } } { "*" } { "" } } */
/* { dg-lto-options { { -O2 -flto -w } } } */
-/* { dg-require-effective-target lp64 } */
register int r asm("esi");
@@ -1,5 +1,5 @@
/* PR inline-asm/20314 */
-/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
+/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && { x32 || lp64 } } } } */
/* { dg-do compile { target ia64-*-* powerpc*-*-* } } */
int a, b, c, d, e, f, g, h, i, j, k, l;
@@ -22,7 +22,7 @@ load_lib gcc-dg.exp
# Exit immediately if this isn't a x86 target.
if { (![istarget x86_64-*-*] && ![istarget i?86-*-*])
- || ![is-effective-target lp64] } then {
+ || (![is-effective-target x32] && ![is-effective-target lp64]) } then {
return
}
@@ -1,5 +1,5 @@
! { dg-do run }
-! { dg-options "-O2 -ffast-math -mfpmath=387" { target { { i?86-*-* x86_64-*-* } && lp64 } } }
+! { dg-options "-O2 -ffast-math -mfpmath=387" { target { { i?86-*-* x86_64-*-* } && { x32 || lp64 } } } }
! { dg-options "-O2 -ffast-math" }
module scc_m