From e3cfbeaf6b655b9c00d77efb8220a8a16341cb2e Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 16 Aug 2019 03:39:02 +0000 Subject: [PATCH] require trampolines for pr85044 Testcases that require support for trampolines should be marked as such; gcc.target/i386/pr85044.c was missing it. Fixed. for gcc/testsuite/ChangeLog * gcc.target/i386/pr85044.c: Require support for trampolines. From-SVN: r274560 --- gcc/testsuite/ChangeLog | 2 ++ gcc/testsuite/gcc.target/i386/pr85044.c | 1 + 2 files changed, 3 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d75c646ba34..3217ee2726e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2019-08-16 Alexandre Oliva + * gcc.target/i386/pr85044.c: Require support for trampolines. + * gcc.target/i386/asm-4.c: Use amd64 natural addressing mode on all __LP64__ targets. diff --git a/gcc/testsuite/gcc.target/i386/pr85044.c b/gcc/testsuite/gcc.target/i386/pr85044.c index a25cc7fe325..02ef91d3dbb 100644 --- a/gcc/testsuite/gcc.target/i386/pr85044.c +++ b/gcc/testsuite/gcc.target/i386/pr85044.c @@ -1,4 +1,5 @@ /* { dg-do run { target cet } } */ +/* { dg-require-effective-target trampolines } */ /* { dg-options "-O2 -fcf-protection=branch" } */ void callme (void (*callback) (void)); -- 2.30.2