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 <rguent...@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. */