[committed] testsuite: Require trampoline support for pr117245.c

Message ID 20241102210357.46525-1-dimitar@dinux.eu
State Committed
Commit 5e40dcf2458aab0441221f89af10f4c5682a8f63
Headers
Series [committed] testsuite: Require trampoline support for pr117245.c |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gcc_build--master-arm fail Patch failed to apply

Commit Message

Dimitar Dimitrov Nov. 2, 2024, 9:03 p.m. UTC
  Test case pr117245.c is using trampolines, so mark it as such.

With this patch the test is now properly marked as unsupported
for pru-unknown-elf.  Test still passes for x86_64-pc-linux-gnu.

Pushed to trunk as obvious.

gcc/testsuite/ChangeLog:

	* gcc.dg/pr117245.c: Require effective target with trampolines.

Cc: Martin Uecker <uecker@tugraz.at>
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
---
 gcc/testsuite/gcc.dg/pr117245.c | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/gcc/testsuite/gcc.dg/pr117245.c b/gcc/testsuite/gcc.dg/pr117245.c
index ebcc60b898f..bf2baad82f3 100644
--- a/gcc/testsuite/gcc.dg/pr117245.c
+++ b/gcc/testsuite/gcc.dg/pr117245.c
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-require-effective-target trampolines } */
 /* { dg-options "" } */
 
 void a() {