Require CET target on gcc.target/i386/pr85404.c
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 19 Apr 2018 19:20:37 +0000 (19:20 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 19 Apr 2018 19:20:37 +0000 (12:20 -0700)
Need a working CET assembler to assemble the compiler output.

* gcc.target/i386/pr85404.c: Require CET target.

From-SVN: r259508

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr85404.c

index a6b254209c80b5b703957ceb6e774b8f1f701a4f..2e8c9a3fbedd23a82e1c467594af26243bbf47a5 100644 (file)
@@ -1,3 +1,7 @@
+2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gcc.target/i386/pr85404.c: Require CET target.
+
 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/85467
index bbf456ec024dd42de542f014d83a898c18e63534..0194f7b7edde3e885e5bf027d63235db67d3efb4 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do assemble } */
+/* { dg-do assemble { target cet } } */
 /* { dg-options "-fleading-underscore -mcet -fcf-protection" } */
 
 void func(void) __asm("_func");