[PATCH] Fix rtl/x86_64 fails with -m32

Uros Bizjak ubizjak@gmail.com
Thu Mar 2 08:55:00 GMT 2017


> Annoying me for quite some time, fixed as follows.
>
> Tested on x86_64-unknown-linux-gnu, applied to trunk.

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 } } } */

All hese should be "{ target { { i?86-*-* x86_64-*-* } && { ! ia32 } }
}". x32 works OK with all test, modulo final.c where it ICEs for some
reason.

Uros.



More information about the Gcc-patches mailing list