[PATCH, testsuite]: Compile gcc.dg/20111227-?.c for x86 targets only.

Uros Bizjak ubizjak@gmail.com
Wed Sep 3 08:03:00 GMT 2014


Hello!

These testcases were intended to be compiled on x86 targets only [1].

2014-09-03  Uros Bizjak  <ubizjak@gmail.com>

    * gcc.dg/20111227-2.c: Compile only for x86 targets.
    * gcc.dg/20111227-3.c: Ditto.

Tested on x86_64-linux-gnu {-m32} and committed to mainline SVN.

[1] https://gcc.gnu.org/ml/gcc-patches/2012-10/msg02329.html

Uros.

Index: gcc.dg/20111227-2.c
===================================================================
--- gcc.dg/20111227-2.c (revision 214845)
+++ gcc.dg/20111227-2.c (working copy)
@@ -1,6 +1,8 @@
 /* Testcase derived from 20111227-1.c to ensure that REE is combining
    redundant zero extends with zero extend to wider mode.  */
+/* { dg-do compile  { target i?86-*-* x86_64-*-* } } */
 /* { dg-options "-fdump-rtl-ree -O -free" } */
+
 extern void abort (void);

 unsigned short s;
Index: gcc.dg/20111227-3.c
===================================================================
--- gcc.dg/20111227-3.c (revision 214845)
+++ gcc.dg/20111227-3.c (working copy)
@@ -1,5 +1,6 @@
 /* Testcase derived from 20111227-1.c to ensure that REE is combining
    redundant sign extends with sign extend to wider mode.  */
+/* { dg-do compile  { target i?86-*-* x86_64-*-* } } */
 /* { dg-options "-fdump-rtl-ree -O -free" } */

 extern void abort (void);



More information about the Gcc-patches mailing list