This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix rtl/x86_64 fails with -m32


Annoying me for quite some time, fixed as follows.

Tested on x86_64-unknown-linux-gnu, applied to trunk.

Richard.

2017-03-02  Richard Biener  <rguenther@suse.de>

	* gcc.dg/rtl/x86_64/dfinit.c: Only run for lp64.
	* gcc.dg/rtl/x86_64/final.c: Likewise.
	* gcc.dg/rtl/x86_64/into-cfglayout.c: Likewise.
	* gcc.dg/rtl/x86_64/ira.c: Likewise.
	* gcc.dg/rtl/x86_64/times-two.c.after-expand.c: Likewise.
	* gcc.dg/rtl/x86_64/vregs.c: Likewise.

Index: gcc/testsuite/gcc.dg/rtl/x86_64/dfinit.c
===================================================================
--- gcc/testsuite/gcc.dg/rtl/x86_64/dfinit.c	(revision 245830)
+++ gcc/testsuite/gcc.dg/rtl/x86_64/dfinit.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target x86_64-*-* } } */
+/* { dg-do run { target { x86_64-*-* && lp64 } } } */
 /* { dg-options "-fdump-rtl-dfinit" } */
 
 #include "test_1.h"
Index: gcc/testsuite/gcc.dg/rtl/x86_64/final.c
===================================================================
--- gcc/testsuite/gcc.dg/rtl/x86_64/final.c	(revision 245830)
+++ gcc/testsuite/gcc.dg/rtl/x86_64/final.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target x86_64-*-* } } */
+/* { dg-do compile { target { x86_64-*-* && lp64 } } } */
 /* { dg-options "-fdump-rtl-final" } */
 
 /* Lightly-modified dump of test.c.304r.dwarf2 for x86_64 target,
Index: gcc/testsuite/gcc.dg/rtl/x86_64/into-cfglayout.c
===================================================================
--- gcc/testsuite/gcc.dg/rtl/x86_64/into-cfglayout.c	(revision 245830)
+++ gcc/testsuite/gcc.dg/rtl/x86_64/into-cfglayout.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target x86_64-*-* } } */
+/* { dg-do run { target { x86_64-*-* && lp64 } } } */
 /* { dg-options "-fdump-rtl-into_cfglayout" } */
 
 /* Lightly-modified dump of test.c.226r.vregs for x86_64.  */
Index: gcc/testsuite/gcc.dg/rtl/x86_64/ira.c
===================================================================
--- gcc/testsuite/gcc.dg/rtl/x86_64/ira.c	(revision 245830)
+++ gcc/testsuite/gcc.dg/rtl/x86_64/ira.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target x86_64-*-* } } */
+/* { dg-do run { target { x86_64-*-* && lp64 } } } */
 /* { dg-options "-fdump-rtl-ira" } */
 
 /* Lightly-modified dump of test.c.265r.asmcons for x86_64.  */
Index: gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.after-expand.c
===================================================================
--- gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.after-expand.c	(revision 245830)
+++ gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.after-expand.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target x86_64-*-* } } */
+/* { dg-do run { target { x86_64-*-* && lp64 } } } */
 
 extern void abort (void);
 
Index: gcc/testsuite/gcc.dg/rtl/x86_64/vregs.c
===================================================================
--- gcc/testsuite/gcc.dg/rtl/x86_64/vregs.c	(revision 245830)
+++ gcc/testsuite/gcc.dg/rtl/x86_64/vregs.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target x86_64-*-* } } */
+/* { dg-do run { target { x86_64-*-* && lp64 } } } */
 /* { dg-options "-fdump-rtl-vregs" } */
 
 /* Lightly-modified dump of test.c.225r.expand for x86_64.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]