pr87874.c: Compile only for int128 effective target.
authorUros Bizjak <ubizjak@gmail.com>
Wed, 7 Nov 2018 15:46:55 +0000 (16:46 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 7 Nov 2018 15:46:55 +0000 (16:46 +0100)
* gcc.dg/pr87874.c: Compile only for int128 effective target.

From-SVN: r265878

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr87874.c

index 210ad30..1975956 100644 (file)
@@ -1,3 +1,7 @@
+2018-11-07  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.dg/pr87874.c: Compile only for int128 effective target.
+
 2018-11-07  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/87914
index 3ab5dcf..1480a5e 100644 (file)
@@ -1,9 +1,8 @@
-/* { dg-do compile } */
+/* { dg-do compile { target int128 } } */
 /* { dg-options "-g -O1 -fgcse -fno-dce -fno-tree-ccp -fno-tree-coalesce-vars -fno-tree-copy-prop -fno-tree-dce -fno-tree-dominator-opts -fno-tree-fre -fno-tree-loop-optimize -fno-tree-sink" } */
 
 int *vk;
 int m2;
-#if __SIZEOF_INT128__
 __int128 nb;
 
 void
@@ -32,4 +31,3 @@ em (int u5, int fo, int s7)
           }
     }
 }
-#endif