From c7cec03345112a051ffeec08e0f008b5c6ca30de Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 19 Apr 2018 19:20:37 +0000 Subject: [PATCH] Require CET target on gcc.target/i386/pr85404.c Need a working CET assembler to assemble the compiler output. * gcc.target/i386/pr85404.c: Require CET target. From-SVN: r259508 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/i386/pr85404.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a6b254209c8..2e8c9a3fbed 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-04-19 H.J. Lu + + * gcc.target/i386/pr85404.c: Require CET target. + 2018-04-19 Jakub Jelinek PR tree-optimization/85467 diff --git a/gcc/testsuite/gcc.target/i386/pr85404.c b/gcc/testsuite/gcc.target/i386/pr85404.c index bbf456ec024..0194f7b7edd 100644 --- a/gcc/testsuite/gcc.target/i386/pr85404.c +++ b/gcc/testsuite/gcc.target/i386/pr85404.c @@ -1,4 +1,4 @@ -/* { dg-do assemble } */ +/* { dg-do assemble { target cet } } */ /* { dg-options "-fleading-underscore -mcet -fcf-protection" } */ void func(void) __asm("_func"); -- 2.30.2